b34480b645
This method used to check which screen contains the top-left corner of the window (and default to the first screen in case none is found), which is not accurate in some cases. Now the area of overlap with each screen is calculated, so we can get the best candidate based on the window's position. This makes window_get_current_screen consistent with Windows platform, and fixes an issue where popups appear on the main screen when the main window is slightly moved outside of the desktop on the top or left. |
||
---|---|---|
.. | ||
export | ||
context_gl_x11.cpp | ||
context_gl_x11.h | ||
crash_handler_linuxbsd.cpp | ||
crash_handler_linuxbsd.h | ||
detect.py | ||
detect_prime_x11.cpp | ||
detect_prime_x11.h | ||
display_server_x11.cpp | ||
display_server_x11.h | ||
freedesktop_screensaver.cpp | ||
freedesktop_screensaver.h | ||
godot_linuxbsd.cpp | ||
joypad_linux.cpp | ||
joypad_linux.h | ||
key_mapping_x11.cpp | ||
key_mapping_x11.h | ||
libudev-so_wrap.c | ||
libudev-so_wrap.h | ||
logo.png | ||
os_linuxbsd.cpp | ||
os_linuxbsd.h | ||
pck_embed.ld | ||
pck_embed.legacy.ld | ||
platform_config.h | ||
platform_linuxbsd_builders.py | ||
README.md | ||
SCsub | ||
vulkan_context_x11.cpp | ||
vulkan_context_x11.h |
Linux/*BSD platform port
This folder contains the C++ code for the Linux/*BSD platform port.
Artwork license
logo.png
is derived from the Linux logo:
Permission to use and/or modify this image is granted provided you acknowledge me lewing@isc.tamu.edu and The GIMP if someone asks.