Skip to content

Commit

Permalink
prevent overlay from becoming tiled
Browse files Browse the repository at this point in the history
  • Loading branch information
paperbenni committed Mar 5, 2021
1 parent bf34a55 commit 45da959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instantwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 45da959

Please sign in to comment.