فهرست منبع

wayland: Avoid overwriting xdg_output position with wl_output position

Ethan Lee 3 سال پیش
والد
کامیت
5655be1558
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/video/wayland/SDL_waylandvideo.c

+ 1 - 1
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;
     }