summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2016-12-01 18:17:52 +0000
committerokan <okan>2016-12-01 18:17:52 +0000
commit92111e526d34a0bd808c40ae5d7634900c726d0b (patch)
tree562734f026a42c1956ab3b781f0d10830ca2db2e /calmwm.h
parentd968a6c1bf1115fe261e979ac1d58ab5c12cd176 (diff)
downloadcwm-92111e526d34a0bd808c40ae5d7634900c726d0b.tar.gz
cwm-92111e526d34a0bd808c40ae5d7634900c726d0b.tar.xz
cwm-92111e526d34a0bd808c40ae5d7634900c726d0b.zip
Change 'menu-window' to display all windows; then add 'menu-window-hidden' for
the previous behaviour of 'menu-window'.  'menu-window' becomes the default
binding; use 'bind-mouse "1" menu-window-hidden' to restore old behaviour for
those who prefer.

OK sthen@ (long long time ago on a different version)
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/calmwm.h b/calmwm.h
index e7c679f..3c5069b 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -261,6 +261,8 @@ enum menu_exec {
 #define CWM_MENU_DUMMY		0x0001
 #define CWM_MENU_FILE		0x0002
 #define CWM_MENU_LIST		0x0004
+#define CWM_MENU_WINDOW_ALL	0x0008
+#define CWM_MENU_WINDOW_HIDDEN	0x0010
 
 struct menu {
 	TAILQ_ENTRY(menu)	 entry;