x11: Treat WM setting the window "fullscreen" like FULLSCREEN_DESKTOP.

Fixes #5390.
This commit is contained in:
Ryan C. Gordon 2022-04-07 09:14:33 -04:00
parent 6dbca7c911
commit 85977354fb
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 1 additions and 1 deletions

View File

@ -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