diff --git a/src/video/wayland/SDL_waylandvideo.c b/src/video/wayland/SDL_waylandvideo.c index 93420bf33..52a324ca3 100644 --- a/src/video/wayland/SDL_waylandvideo.c +++ b/src/video/wayland/SDL_waylandvideo.c @@ -389,7 +389,7 @@ display_handle_geometry(void *data, } /* Apply the change from wl-output only if xdg-output is not supported */ - if (driverdata->has_logical_position) { + if (!driverdata->has_logical_position) { driverdata->x = x; driverdata->y = y; }