This commit is contained in:
Dana Jansens 2007-05-08 00:18:15 +00:00
parent def8f7e4dd
commit 38b12c6cba

View file

@ -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) */