]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus_cycle_popup.h
add an option to next/previous window to only include hilited/flashing/urgent windows...
[chaz/openbox] / openbox / focus_cycle_popup.h
index 19279a62d43f2232661cd4a7ab896139648ecb5b..cf2d52de48a04e307702f8a15f55a4737d45d3ed 100644 (file)
@@ -24,22 +24,28 @@ struct _ObClient;
 
 #include <glib.h>
 
+typedef enum {
+    OB_FOCUS_CYCLE_POPUP_MODE_NONE,
+    OB_FOCUS_CYCLE_POPUP_MODE_ICONS,
+    OB_FOCUS_CYCLE_POPUP_MODE_LIST
+} ObFocusCyclePopupMode;
+
 void focus_cycle_popup_startup(gboolean reconfig);
 void focus_cycle_popup_shutdown(gboolean reconfig);
 
-void focus_cycle_popup_show(struct _ObClient *c, gboolean iconic_windows,
-                            gboolean all_desktops, gboolean dock_windows,
-                            gboolean desktop_windows);
-void focus_cycle_popup_hide();
+void focus_cycle_popup_show(struct _ObClient *c, ObFocusCyclePopupMode mode);
+void focus_cycle_popup_hide(void);
+
+void focus_cycle_popup_single_show(struct _ObClient *c);
+void focus_cycle_popup_single_hide(void);
 
-void focus_cycle_popup_single_show(struct _ObClient *c,
-                                   gboolean iconic_windows,
-                                   gboolean all_desktops,
-                                   gboolean dock_windows,
-                                   gboolean desktop_windows);
-void focus_cycle_popup_single_hide();
+gboolean focus_cycle_popup_is_showing(struct _ObClient *c);
 
-/*! Returns TRUE if the popup is showing the client, otherwise FALSE. */
-gboolean focus_cycle_popup_is_showing(struct _ObClient *client);
+/*! Redraws the focus cycle popup, and returns the current target.  If
+    the target given to the function is no longer valid, this will return
+    a different target that is valid, and which should be considered the
+    current focus cycling target. */
+struct _ObClient *focus_cycle_popup_refresh(struct _ObClient *target,
+                                            gboolean redraw);
 
 #endif
This page took 0.026316 seconds and 4 git commands to generate.