X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=5a6f443ae82d3b157a136067044b74a6357653bd;hb=5074d902aa215a2a656980d31b19574a5db1f795;hp=8ba71172b49eb2f44b6f1d14efccf73a61ee2e16;hpb=9a3464b8e3711a6f0e823b840576041f5d4d0b00;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index 8ba71172..5a6f443a 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -349,10 +349,11 @@ void client_manage(Window window) client_search_focus_tree_full(self)) && /* this checks for focus=false for the window */ (!settings || settings->focus != 0) && - /* note the check against Type_Normal/Dialog, not client_normal(self), - which would also include other types. in this case we want more - strict rules for focus */ + /* note the check against type Normal/Dialog/Utility, + not client_normal(self), which would also include other types. + in this case we want more strict rules for focus */ (self->type == OB_CLIENT_TYPE_NORMAL || + self->type == OB_CLIENT_TYPE_UTILITY || self->type == OB_CLIENT_TYPE_DIALOG)) { activate = TRUE;