]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus_cycle_popup.c
Hide the desktop cycle popup when the focus cycle popup is shown.
[chaz/openbox] / openbox / focus_cycle_popup.c
index 477619f557c37afc448cc2abba1961cbb2d9672a..1869cc3520deaa177b74b258640091b798f277fd 100644 (file)
@@ -174,7 +174,7 @@ static void popup_setup(ObFocusCyclePopup *p, gboolean create_targets,
     for (it = g_list_last(focus_order); it; it = g_list_previous(it)) {
         ObClient *ft = it->data;
 
-        if (focus_valid_target(ft,
+        if (focus_valid_target(ft, TRUE,
                                iconic_windows,
                                all_desktops,
                                dock_windows,
@@ -456,6 +456,7 @@ void focus_cycle_popup_show(ObClient *c, gboolean iconic_windows,
         XMapWindow(ob_display, popup.bg);
         XFlush(ob_display);
         popup.mapped = TRUE;
+        screen_hide_desktop_popup();
     }
 }
 
This page took 0.020513 seconds and 4 git commands to generate.