]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus_cycle_popup.c
Merge branch 'backport' into work
[chaz/openbox] / openbox / focus_cycle_popup.c
index d6d5584cf777526b369f0d7c7ad33c26fdd23bee..cc2b3b362beb2edf1c12c98f14b21367b8c6e147 100644 (file)
@@ -735,3 +735,17 @@ void focus_cycle_popup_single_hide(void)
 {
     icon_popup_hide(single_popup);
 }
+
+gboolean focus_cycle_popup_is_showing(ObClient *client)
+{
+    if (popup.mapped) {
+        GList *it;
+
+        for (it = popup.targets; it; it = g_list_next(it)) {
+            ObFocusCyclePopupTarget *t = it->data;
+            if (t->client == client)
+                return TRUE;
+        }
+    }
+    return FALSE;
+}
This page took 0.021317 seconds and 4 git commands to generate.