aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--monsterwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monsterwm.c b/monsterwm.c
index 77d1111..7679ee3 100644
--- a/monsterwm.c
+++ b/monsterwm.c
@@ -531,7 +531,7 @@ void maprequest(XEvent *e) {
Window w;
current->istransient = XGetTransientForHint(dis, current->win, &w);
- current->isfloating = floating;
+ current->isfloating = floating || current->istransient;
int di; unsigned long dl; unsigned char *state = NULL; Atom da;
if (XGetWindowProperty(dis, current->win, netatoms[NET_WM_STATE], 0L, sizeof da,