aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2012-01-23 04:38:15 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2012-01-23 04:38:15 +0200
commitea99fc911ca8692d5ebc495aba65435887d8204c (patch)
tree49d35ef46d8ae1b769f3cadc38d2a599bdac8cdd
parent917f0225788b9fe50331f174ea219296620b2e9e (diff)
transient clients are also marked as floating
-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,