Adding _IS_FLOATING xproperty patch for floating windows ref. #50

This commit is contained in:
bakkeby
2020-09-28 14:39:17 +02:00
parent 8536aa52c4
commit 8726ae0aa9
5 changed files with 33 additions and 0 deletions

8
dwm.c
View File

@@ -2253,6 +2253,10 @@ manage(Window w, XWindowAttributes *wa)
arrange(c->mon);
#endif // SWALLOW_PATCH
focus(NULL);
#if BAR_EWMHTAGS_PATCH
setfloatinghint(c);
#endif // BAR_EWMHTAGS_PATCH
}
void
@@ -3663,6 +3667,10 @@ togglefloating(const Arg *arg)
#endif // SAVEFLOATS_PATCH / EXRESIZE_PATCH
}
arrange(c->mon);
#if BAR_EWMHTAGS_PATCH
setfloatinghint(c);
#endif // BAR_EWMHTAGS_PATCH
}
void