Skip to content

Commit 8597735

Browse files
committed
x11: Treat WM setting the window "fullscreen" like FULLSCREEN_DESKTOP.
Fixes libsdl-org#5390.
1 parent 6dbca7c commit 8597735

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/video/x11/SDL_x11window.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ X11_GetNetWMState(_THIS, Window xwindow)
222222
}
223223

224224
if (fullscreen == 1) {
225-
flags |= SDL_WINDOW_FULLSCREEN; /* !!! FIXME: arguably this is more like FULLSCREEN_DESKTOP...? */
225+
flags |= SDL_WINDOW_FULLSCREEN_DESKTOP;
226226
}
227227

228228
/* If the window is unmapped, numItems will be zero and _NET_WM_STATE_HIDDEN

0 commit comments

Comments
 (0)