X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus.c;h=15c036dca7f49bc00b75e42a93aca4f9b8572579;hb=ebabf3943c926547739254fb67f8024166ea000f;hp=eea8d148579042319fed27e2fc72e1413f28c2c3;hpb=e1081644c1eea458aab0901c76ebc7a112d280d7;p=chaz%2Fopenbox diff --git a/openbox/focus.c b/openbox/focus.c index eea8d148..15c036dc 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -562,10 +562,10 @@ static gboolean valid_focus_target(ObClient *ft, /* it's not set to skip the taskbar (unless it is a type that would be expected to set this hint */ - ok = ok && (!(ft->type == OB_CLIENT_TYPE_DOCK || - ft->type == OB_CLIENT_TYPE_TOOLBAR || - ft->type == OB_CLIENT_TYPE_MENU || - ft->type == OB_CLIENT_TYPE_UTILITY) || + ok = ok && ((ft->type == OB_CLIENT_TYPE_DOCK || + ft->type == OB_CLIENT_TYPE_TOOLBAR || + ft->type == OB_CLIENT_TYPE_MENU || + ft->type == OB_CLIENT_TYPE_UTILITY) || !ft->skip_taskbar); /* it's not going to just send fous off somewhere else (modal window) */