mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-14 18:27:50 +00:00
x11: Fix the Openbox quirk flag
Openbox needs fullscreen size/position event synthesized, but does not send display changed events.
(cherry picked from commit 84308e7fba)
This commit is contained in:
parent
3b1e3d5176
commit
1870052af6
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ static SDL_VideoDevice *X11_CreateDevice(void)
|
|||
* This is otherwise not wanted, as it can break fullscreen window positioning on multi-monitor configurations.
|
||||
*/
|
||||
if (!X11_CheckCurrentDesktop("openbox")) {
|
||||
device->device_caps |= VIDEO_DEVICE_CAPS_SENDS_DISPLAY_CHANGES;
|
||||
device->device_caps |= VIDEO_DEVICE_CAPS_SENDS_FULLSCREEN_DIMENSIONS;
|
||||
}
|
||||
|
||||
data->is_xwayland = X11_IsXWayland(x11_display);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue