From 4c2e1fe2b8eb4cedd5cf70e60111dbc52832a70b Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Fri, 29 Jun 2012 04:13:27 +0300 Subject: fix for tiled to floating clients not getting on top of other floating clients --- monsterwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monsterwm.c b/monsterwm.c index ff40465..6561391 100644 --- a/monsterwm.c +++ b/monsterwm.c @@ -547,7 +547,7 @@ void mousemotion(const Arg *arg) { XQueryPointer(dis, root, &w, &w, &rx, &ry, &c, &c, &m); if (curr->isfullscrn) setfullscreen(curr, False); - if (!curr->isfloating && !curr->istransient) { curr->isfloating = True; tile(); } + if (!curr->isfloating && !curr->istransient) { curr->isfloating = True; tile(); focus(curr); } XEvent ev; do { @@ -653,7 +653,7 @@ void move_up(void) { void moveresize(const Arg *arg) { XWindowAttributes wa; if (!curr || !XGetWindowAttributes(dis, curr->win, &wa)) return; - if (!curr->isfloating && !curr->istransient) { curr->isfloating = True; tile(); } + if (!curr->isfloating && !curr->istransient) { curr->isfloating = True; tile(); focus(curr); } XMoveResizeWindow(dis, curr->win, wa.x + ((int *)arg->v)[0], wa.y + ((int *)arg->v)[1], wa.width + ((int *)arg->v)[2], wa.height + ((int *)arg->v)[3]); } -- cgit v1.3.1