From e21b5e67c299480cada3374183c1989525ffc43d Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Fri, 13 Jan 2012 22:08:51 +0200 Subject: do not tile windows if the new window is transient --- monsterwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'monsterwm.c') diff --git a/monsterwm.c b/monsterwm.c index d32306c..22ae088 100644 --- a/monsterwm.c +++ b/monsterwm.c @@ -376,8 +376,8 @@ void maprequest(XEvent *e) { select_desktop(cd); if (cd == newdsk) { - tile(); - XMapWindow(dis, e->xmaprequest.window); + if (!current->istransient) tile(); + XMapWindow(dis, current->win); update_current(NULL); grabbuttons(current); } else if (follow) change_desktop(&(Arg){.i = newdsk}); -- cgit v1.3.1