summaryrefslogtreecommitdiff
path: root/openbox/focus_cycle_popup.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-02-03 00:07:21 -0500
committerDana Jansens <danakj@orodu.net>2008-02-03 00:28:02 -0500
commit76464a604ee2999b00b806be25722f7fcac1cd9c (patch)
tree828f01ecb455a14a1f184121cfe164ef0e94eb6a /openbox/focus_cycle_popup.h
parent2924adb9b1addab67983a5276ec6932b7b7933d6 (diff)
combine the old focus cycle popup code with mika's new list-mode popup, and make an action option for it (the old <dialog> option)
Diffstat (limited to 'openbox/focus_cycle_popup.h')
-rw-r--r--openbox/focus_cycle_popup.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/openbox/focus_cycle_popup.h b/openbox/focus_cycle_popup.h
index ded39e20..b940583b 100644
--- a/openbox/focus_cycle_popup.h
+++ b/openbox/focus_cycle_popup.h
@@ -24,12 +24,19 @@ 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);
+ gboolean desktop_windows,
+ ObFocusCyclePopupMode mode);
void focus_cycle_popup_hide();
void focus_cycle_popup_single_show(struct _ObClient *c,