소스 검색

Merge commit 'e35c3872dc6a8f7741baba8b786b202cef7503ac' into main

Sam Lantinga 2 년 전
부모
커밋
72408ebc2a
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/video/wayland/SDL_waylandwindow.c

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

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