]> Dogcows Code - chaz/openbox/commitdiff
indenting
authorDana Jansens <danakj@orodu.net>
Fri, 3 Oct 2003 04:27:44 +0000 (04:27 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 3 Oct 2003 04:27:44 +0000 (04:27 +0000)
openbox/client.c

index 8b008e9b2a424bba780a76adb3377b6eca6b25dd..643cf60b771591efc0a55293b353878c294a1497 100644 (file)
@@ -1747,7 +1747,7 @@ gboolean client_should_show(ObClient *self)
 {
     if (self->iconic) return FALSE;
     else if (!(self->desktop == screen_desktop ||
-              self->desktop == DESKTOP_ALL)) return FALSE;
+               self->desktop == DESKTOP_ALL)) return FALSE;
     else if (client_normal(self) && screen_showing_desktop) return FALSE;
     
     return TRUE;
@@ -2552,10 +2552,7 @@ gboolean client_can_focus(ObClient *self)
     if (!self->frame->visible)
         return FALSE;
 
-    if (!((self->can_focus || self->focus_notify) &&
-          (self->desktop == screen_desktop ||
-           self->desktop == DESKTOP_ALL) &&
-          !self->iconic))
+    if (!(self->can_focus || self->focus_notify))
         return FALSE;
 
     /* do a check to see if the window has already been unmapped or destroyed
This page took 0.032005 seconds and 4 git commands to generate.