Skip to content

Commit

Permalink
Recheck fullscreen status on ConfigureNotify
Browse files Browse the repository at this point in the history
IceWM does not send PropertyNotify when exiting fullscreen. As a
band-aid solution also re-check the fullscreen status on ConfigureNotify
events. We're receiving them already so a few extra checks should not be
noticeable in any case.

Fixes #613
  • Loading branch information
tsipinakis committed Jun 20, 2019
1 parent 69a682c commit ac94eca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/x11/x.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ gboolean x_mainloop_fd_dispatch(GSource *source, GSourceFunc callback, gpointer
}
/* Explicitly fallthrough. Other PropertyNotify events, e.g. catching
* _NET_WM get handled in the Focus(In|Out) section */
case ConfigureNotify:
case FocusIn:
case FocusOut:
LOG_D("XEvent: Checking for active screen changes");
Expand Down

0 comments on commit ac94eca

Please sign in to comment.