feat: support dip <-> screen conversion on Linux (#47125)
* feat: support dip <-> screen conversion on Linux * chore: fix build
This commit is contained in:
parent
6dea52b6c0
commit
a4dfd9b6f3
9 changed files with 107 additions and 24 deletions
14
shell/browser/linux/x11_util.h
Normal file
14
shell/browser/linux/x11_util.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
// Copyright (c) 2025 Microsoft GmbH.
|
||||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef ELECTRON_SHELL_BROWSER_LINUX_X11_UTIL_H_
|
||||
#define ELECTRON_SHELL_BROWSER_LINUX_X11_UTIL_H_
|
||||
|
||||
namespace x11_util {
|
||||
|
||||
bool IsX11();
|
||||
|
||||
} // namespace x11_util
|
||||
|
||||
#endif // ELECTRON_SHELL_BROWSER_LINUX_X11_UTIL_H_
|
Loading…
Add table
Add a link
Reference in a new issue