]> Dogcows Code - chaz/openbox/commitdiff
use frame->visible, not the desktop number, other states exist too, like show_desktop
authorDana Jansens <danakj@orodu.net>
Mon, 26 May 2003 18:39:48 +0000 (18:39 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 26 May 2003 18:39:48 +0000 (18:39 +0000)
openbox/client.c

index ade1a1093cb59abf9fea2a7acf79d2c311179086..c7739fdd19b129ca56f9813df86562faa6ade6fd 100644 (file)
@@ -2237,7 +2237,7 @@ gboolean client_focus(Client *self)
     /* choose the correct target */
     self = client_focus_target(self);
 
-    if (self->desktop != DESKTOP_ALL && self->desktop != screen_desktop) {
+    if (!self->frame->visible) {
         /* update the focus lists */
         focus_order_to_top(self);
         return FALSE;
This page took 0.032495 seconds and 4 git commands to generate.