]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
when restoring from show-desktop mode because a window is going to be focused, then...
[chaz/openbox] / openbox / client.c
index cea6d99b224403701c23186b106d408e6cf90226..3ebcc69ae8f568a0d6c5deafb129b464f8763ec8 100644 (file)
@@ -931,7 +931,7 @@ static void client_get_all(ObClient *self)
 
     client_update_wmhints(self);
     /* this may have already been called from client_update_wmhints */
-    if (self->transient && self->transient_for == NULL)
+    if (self->transient_for == NULL)
         client_update_transient_for(self);
     client_get_startup_id(self);
     client_get_desktop(self);/* uses transient data/group/startup id if a
@@ -3261,7 +3261,7 @@ void client_activate(ObClient *self, gboolean here, gboolean user)
         event_halt_focus_delay();
 
         if (client_normal(self) && screen_showing_desktop)
-            screen_show_desktop(FALSE);
+            screen_show_desktop(FALSE, FALSE);
         if (self->iconic)
             client_iconify(self, FALSE, here);
         if (self->desktop != DESKTOP_ALL &&
This page took 0.020547 seconds and 4 git commands to generate.