Explorar o código

wayland: Avoid setting floating width/height when re-entering fullscreen

Ethan Lee %!s(int64=4) %!d(string=hai) anos
pai
achega
7be970db31
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/video/wayland/SDL_waylandwindow.c

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

@@ -347,6 +347,7 @@ decoration_frame_configure(struct libdecor_frame *frame,
             /* We might need to re-enter fullscreen after being restored from minimized */
             SetFullscreen(window, driverdata->output);
             fullscreen = SDL_TRUE;
+            floating = SDL_FALSE;
         }
 
         /* Always send a maximized/restore event; if the event is redundant it will