From 107cbdea3345753a27fee76744b80a2d1f5cca8a Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Wed, 28 Jul 2021 18:56:32 -0400 Subject: Add x11-wm/cwm with menu-mosh patch --- x11-wm/cwm/files/patch-conf.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 x11-wm/cwm/files/patch-conf.c (limited to 'x11-wm/cwm/files/patch-conf.c') diff --git a/x11-wm/cwm/files/patch-conf.c b/x11-wm/cwm/files/patch-conf.c new file mode 100644 index 0000000..9d597b1 --- /dev/null +++ b/x11-wm/cwm/files/patch-conf.c @@ -0,0 +1,18 @@ +--- conf.c.orig 2021-07-28 22:34:31 UTC ++++ conf.c +@@ -180,6 +180,7 @@ static const struct { + { FUNC_SC(menu-cmd, menu_cmd, 0) }, + { FUNC_SC(menu-group, menu_group, 0) }, + { FUNC_SC(menu-ssh, menu_ssh, 0) }, ++ { FUNC_SC(menu-mosh, menu_mosh, 0) }, + { FUNC_SC(menu-window, menu_client, CWM_MENU_WINDOW_ALL) }, + { FUNC_SC(menu-window-hidden, menu_client, CWM_MENU_WINDOW_HIDDEN) }, + { FUNC_SC(menu-exec, menu_exec, 0) }, +@@ -212,6 +213,7 @@ static const struct { + { "M-question", "menu-exec" }, + { "CM-w", "menu-exec-wm" }, + { "M-period", "menu-ssh" }, ++ { "MS-period", "menu-mosh" }, + { "M-Return", "window-hide" }, + { "M-Down", "window-lower" }, + { "M-Up", "window-raise" }, -- cgit v1.2.3-56-ge451