aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2012-01-23 19:30:54 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2012-01-23 19:30:54 +0200
commitff31ba956bf96cc1a858bc111c8eedc8e8e345d8 (patch)
tree52e01a929c3987de6a4731c4d8a81651fcd30b74
parentb9c53f2789d2a7c80d034249f2c07a8335d2d281 (diff)
also preserve transient property when moving to another desktop
-rw-r--r--monsterwm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/monsterwm.c b/monsterwm.c
index cc2be99..41757f6 100644
--- a/monsterwm.c
+++ b/monsterwm.c
@@ -290,6 +290,7 @@ void client_to_desktop(const Arg *arg) {
Window w = current->win;
Bool wfloating = current->isfloating;
Bool wfullscrn = current->isfullscrn;
+ Bool transient = current->istransient;
XUnmapWindow(dis, current->win);
removeclient(current);
@@ -298,6 +299,7 @@ void client_to_desktop(const Arg *arg) {
current = addwindow(w);
current->isfloating = wfloating;
current->isfullscrn = wfullscrn;
+ current->istransient = transient;
select_desktop(cd);
tile();