소스 검색

wayland: Avoid overwriting xdg_output position with wl_output position

Ethan Lee 4 년 전
부모
커밋
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;
     }