x11: Fix backwards _NET_WM_SYNC_REQUEST init check

(cherry picked from commit b493e29a81)
This commit is contained in:
Frank Praznik committed 2025-03-21 15:34:26 -04:00
1 parent ed8e7e85f0
commit d37a3e2a71
1 file changed
+1 -1
+1 -1
View File
@@ -534,7 +534,7 @@ bool X11_CreateWindow(SDL_VideoDevice *_this, SDL_Window *window, SDL_Properties
}
const bool force_override_redirect = SDL_GetHintBoolean(SDL_HINT_X11_FORCE_OVERRIDE_REDIRECT, false);
const bool use_resize_sync = (window->flags & SDL_WINDOW_VULKAN); /* doesn't work well with Vulkan */
const bool use_resize_sync = !(window->flags & SDL_WINDOW_VULKAN); /* doesn't work well with Vulkan */
SDL_WindowData *windowdata;
Display *display = data->display;
int screen = displaydata->screen;