Event: Remove test in propertynotify handle

This commit is contained in:
Martin Duquesnoy 2010-07-31 14:30:45 +02:00
parent 2292ab97d1
commit 872d9cb348

View File

@ -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: