From 872d9cb348d11799f251a0da0508bed38739601b Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Sat, 31 Jul 2010 14:30:45 +0200 Subject: [PATCH] Event: Remove test in propertynotify handle --- src/event.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/event.c b/src/event.c index ed13e20..f6f2cca 100644 --- a/src/event.c +++ b/src/event.c @@ -562,10 +562,9 @@ propertynotify(XPropertyEvent *ev) { case XA_WM_TRANSIENT_FOR: XGetTransientForHint(dpy, c->win, &trans); - if(!(c->flags & FreeFlag) && client_gb_win(trans) != NULL) - - /* f(((c->flags & HintFlag && (client_gb_win(trans) != NULL))) - || (!(c->flags & HintFlag && (client_gb_win(trans) != NULL))))*/ + if((c->flags & TileFlag || c->flags & MaxFlag)) + if(((c->flags & HintFlag && (client_gb_win(trans) != NULL))) + || (!(c->flags & HintFlag && (client_gb_win(trans) != NULL)))) arrange(c->screen, True); break; case XA_WM_NORMAL_HINTS: