From a6fb2061c2a3151c71f40486b03a6a149af717c3 Mon Sep 17 00:00:00 2001 From: okan Date: Thu, 1 Dec 2016 18:17:52 +0000 Subject: 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) --- calmwm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 8861a34..c6e0246 100644 --- a/calmwm.h +++ b/calmwm.h @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.333 2016/11/15 00:22:02 okan Exp $ + * $OpenBSD: calmwm.h,v 1.334 2016/12/01 18:17:52 okan Exp $ */ #ifndef _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; -- cgit v1.2.3-2-gb3c3