summaryrefslogtreecommitdiffhomepage
path: root/dwm.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-09-28 14:39:17 +0200
committerbakkeby <[email protected]>2020-09-28 14:39:17 +0200
commit8726ae0aa94f711887cd25bc8c159f8027d59839 (patch)
tree002e4c2eddfdf86de0989ed5f83478e9c6afa76e /dwm.c
parent8536aa52c4146a63adcdd7a67cd381d39efb9770 (diff)
downloaddwm-flexipatch-8726ae0aa94f711887cd25bc8c159f8027d59839.tar.gz
dwm-flexipatch-8726ae0aa94f711887cd25bc8c159f8027d59839.zip
Adding _IS_FLOATING xproperty patch for floating windows ref. #50
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index 37f9c69..b32b36d 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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