mirror of https://github.com/godotengine/godot
Helps with fixing issues with scrolling popups not respecting screen decorations on the display server side. Reproduction steps for a simple use case: - Start the editor project list - Open the language selection popup Support for multi-screen: Handling decorations is supported in different ways depending on the information the window manager provides: - _GTK_WORKAREAS is used when available from the WM to get accurate rect for the different screens directly (available on Gnome). - Alternatively, strut information is used to calculate available space for a given desktop manually (XFCE, KDE). - As last resort _NET_WORKAREA is used. It provides one full rect for all screens, which doesn't handle decorations on the secondary screen in all cases. |
||
|---|---|---|
| .. | ||
| android | ||
| iphone | ||
| javascript | ||
| linuxbsd | ||
| osx | ||
| uwp | ||
| windows | ||
| SCsub | ||
| register_platform_apis.h | ||