瀏覽代碼

Revert "wayland: Don't try to restore non-resizable windows"

This reverts commit e35c3872dc6a8f7741baba8b786b202cef7503ac.
Frank Praznik 2 年之前
父節點
當前提交
180afcdf39
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/video/wayland/SDL_waylandwindow.c

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

@@ -1699,10 +1699,6 @@ void Wayland_RestoreWindow(_THIS, SDL_Window *window)
         return;
         return;
     }
     }
 
 
-    if (!(window->flags & SDL_WINDOW_RESIZABLE)) {
-            return;
-    }
-
     /* Set this flag now even if we never actually maximized, eventually
     /* Set this flag now even if we never actually maximized, eventually
      * ShowWindow will take care of it along with the other window state.
      * ShowWindow will take care of it along with the other window state.
      */
      */