godot/platform/linuxbsd
PouleyKetchoupp b34480b645 Fix window_get_current_screen for X11 display server
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.
2021-10-28 10:26:05 -07:00
..
export Make platform feature tag names lowercase 2021-08-31 20:34:44 +02:00
context_gl_x11.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
context_gl_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
crash_handler_linuxbsd.cpp Improve crash handler message display 2021-06-17 20:05:16 +02:00
crash_handler_linuxbsd.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
detect.py Add support for the RISC-V architecture 2021-10-22 12:51:10 -05:00
detect_prime_x11.cpp Add 'AMD' GPU vendor name to PRIME detector 2021-02-20 16:49:06 +01:00
detect_prime_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
display_server_x11.cpp Fix window_get_current_screen for X11 display server 2021-10-28 10:26:05 -07:00
display_server_x11.h Fix window_get_current_screen for X11 display server 2021-10-28 10:26:05 -07:00
freedesktop_screensaver.cpp free dbus errors when inhibiting freedesktop screensaver (prevents small memory leak) 2021-10-12 21:11:56 -04:00
freedesktop_screensaver.h Add "Keep screen on" feature to DisplayServerX11 2021-06-20 21:57:33 +02:00
godot_linuxbsd.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
joypad_linux.cpp Use mouse and joypad enums instead of plain integers 2021-06-20 11:54:24 -04:00
joypad_linux.h Rename some more global enums (Key, Joy, MIDI) 2021-03-23 07:13:23 -04:00
key_mapping_x11.cpp Allow for mapping keycodes to current layout 2021-09-21 00:03:02 +02:00
key_mapping_x11.h Allow for mapping keycodes to current layout 2021-09-21 00:03:02 +02:00
libudev-so_wrap.c An update to the dylibloader for older inttypes 2021-02-20 01:24:30 +01:00
libudev-so_wrap.h An update to the dylibloader for older inttypes 2021-02-20 01:24:30 +01:00
logo.png Effective DisplayServer separation, rename X11 -> LinuxBSD 2020-03-26 15:49:34 +01:00
os_linuxbsd.cpp Merge pull request #51429 from omar-polo/fix-basename 2021-10-09 10:34:21 +02:00
os_linuxbsd.h Add partial support for Android scoped storage. 2021-08-16 23:11:56 -07:00
pck_embed.ld Effective DisplayServer separation, rename X11 -> LinuxBSD 2020-03-26 15:49:34 +01:00
pck_embed.legacy.ld Effective DisplayServer separation, rename X11 -> LinuxBSD 2020-03-26 15:49:34 +01:00
platform_config.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
platform_linuxbsd_builders.py SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
README.md Add logo attribution for Android, HTML5 and Linux platform icons 2021-09-11 19:34:10 +02:00
SCsub Add "Keep screen on" feature to DisplayServerX11 2021-06-20 21:57:33 +02:00
vulkan_context_x11.cpp Upgrade Vulkan memory allocator 2021-08-13 00:05:41 +02:00
vulkan_context_x11.h Restructure and reimplement vsync options 2021-07-06 16:34:26 +02:00

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.