diff --git a/src/main.c b/src/main.c index 6d1ad0a..21a387b 100644 --- a/src/main.c +++ b/src/main.c @@ -244,6 +244,10 @@ static void handle_unmap_notify(XUnmapEvent *ev) return; } + if (c->flags & (CLIENT_MAXIMIZED | CLIENT_FULLSCREEN)) { + return; + } + client_unmanage(c); }