Skip to content

Commit

Permalink
x11: Treat WM setting the window "fullscreen" like FULLSCREEN_DESKTOP.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 7, 2022
1 parent 6dbca7c commit 8597735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11window.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ X11_GetNetWMState(_THIS, Window xwindow)
}

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

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

0 comments on commit 8597735

Please sign in to comment.