X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fplace.c;h=ea131bea3e1e73de60d99e05633436f144c77c4f;hb=8772b46b56172e35506f21d626aa89bd649615c6;hp=f1409be606b5bc20cc0f71dbecda73ffbc96b43a;hpb=d8c518978b3fee96eb446fc01884d8f3b2a45a7c;p=chaz%2Fopenbox diff --git a/openbox/place.c b/openbox/place.c index f1409be6..ea131bea 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -268,7 +268,10 @@ typedef enum } ObSmartType; #define SMART_IGNORE(placer, c) \ - (placer == c || c->shaded || !client_normal(c) || !c->frame->visible || \ + (placer == c || c->shaded || !c->frame->visible || \ + c->type == OB_CLIENT_TYPE_SPLASH || c->type == OB_CLIENT_TYPE_DESKTOP || \ + ((c->type == OB_CLIENT_TYPE_MENU || c->type == OB_CLIENT_TYPE_TOOLBAR) &&\ + client_has_parent(c)) || \ (c->desktop != DESKTOP_ALL && \ c->desktop != (placer->desktop == DESKTOP_ALL ? \ screen_desktop : placer->desktop)))