aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorokan2016-12-01 18:17:52 +0000
committerokan2016-12-01 18:17:52 +0000
commita6fb2061c2a3151c71f40486b03a6a149af717c3 (patch)
tree1f8211f27927fa17464a161d79b7dbecb1830574 /conf.c
parentceb545c78714e7691b5bad3df39f8ce682bf30d0 (diff)
downloadcwm-a6fb2061c2a3151c71f40486b03a6a149af717c3.tar.gz
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 'conf.c')
-rw-r--r--conf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/conf.c b/conf.c
index a8473a7..522c239 100644
--- a/conf.c
+++ b/conf.c
@@ -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: conf.c,v 1.225 2016/12/01 17:17:27 okan Exp $
+ * $OpenBSD: conf.c,v 1.226 2016/12/01 18:17:52 okan Exp $
*/
#include <sys/types.h>
@@ -174,7 +174,10 @@ static const struct {
{ "menu-cmd", kbfunc_menu_cmd, CWM_CONTEXT_SC, {0} },
{ "menu-group", kbfunc_menu_group, CWM_CONTEXT_SC, {0} },
{ "menu-ssh", kbfunc_menu_ssh, CWM_CONTEXT_SC, {0} },
- { "menu-window", kbfunc_menu_client, CWM_CONTEXT_SC, {0} },
+ { "menu-window", kbfunc_menu_client, CWM_CONTEXT_SC,
+ {.i = CWM_MENU_WINDOW_ALL} },
+ { "menu-window-hidden", kbfunc_menu_client, CWM_CONTEXT_SC,
+ {.i = CWM_MENU_WINDOW_HIDDEN} },
{ "menu-exec", kbfunc_menu_exec, CWM_CONTEXT_SC,
{.i = CWM_MENU_EXEC_EXEC} },
{ "menu-exec-wm", kbfunc_menu_exec, CWM_CONTEXT_SC,