فهرست منبع

wayland: Don't apply old libdecor window dimensions

Don't overwrite the current dimensions unless they've actually changed, or programmatically set dimensions can be overwritten.
Frank Praznik 1 سال پیش
والد
کامیت
b6a92c113f
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      src/video/wayland/SDL_waylandwindow.c

+ 0 - 2
src/video/wayland/SDL_waylandwindow.c

@@ -1087,8 +1087,6 @@ static void decoration_frame_configure(struct libdecor_frame *frame,
     window->state_not_floating = tiled;
 
     /* Calculate the new window geometry */
-    wind->requested_window_width = width;
-    wind->requested_window_height = height;
     ConfigureWindowGeometry(window);
 
     /* ... then commit the changes on the libdecor side. */