From 45da9591c1d79c1b3b110c1aa9cbc2b5da1703c8 Mon Sep 17 00:00:00 2001 From: paperbenni Date: Fri, 5 Mar 2021 22:14:06 +0100 Subject: [PATCH] prevent overlay from becoming tiled --- instantwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instantwm.c b/instantwm.c index ba9e50e8..46229c97 100644 --- a/instantwm.c +++ b/instantwm.c @@ -4766,7 +4766,7 @@ applysize(Client *c) { void togglefloating(const Arg *arg) { - if (!selmon->sel) + if (!selmon->sel || selmon->sel == selmon->overlay) return; if (selmon->sel->isfullscreen && !selmon->sel->isfakefullscreen) /* no support for fullscreen windows */ return;