Browse Source

x11: Fix the Openbox quirk flag

Openbox needs fullscreen size/position event synthesized, but does not send display changed events.
Frank Praznik 4 tháng trước cách đây
mục cha
commit
84308e7fba
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/video/x11/SDL_x11video.c

+ 1 - 1
src/video/x11/SDL_x11video.c

@@ -284,7 +284,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);