Skip to content

Commit 84308e7

Browse files
committed
x11: Fix the Openbox quirk flag
Openbox needs fullscreen size/position event synthesized, but does not send display changed events.
1 parent 6344712 commit 84308e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/video/x11/SDL_x11video.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ static SDL_VideoDevice *X11_CreateDevice(void)
284284
* This is otherwise not wanted, as it can break fullscreen window positioning on multi-monitor configurations.
285285
*/
286286
if (!X11_CheckCurrentDesktop("openbox")) {
287-
device->device_caps |= VIDEO_DEVICE_CAPS_SENDS_DISPLAY_CHANGES;
287+
device->device_caps |= VIDEO_DEVICE_CAPS_SENDS_FULLSCREEN_DIMENSIONS;
288288
}
289289

290290
data->is_xwayland = X11_IsXWayland(x11_display);

0 commit comments

Comments
 (0)