sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 42622db836bebe861e488c30fc2c8205ee936b75
parent 24a908b195d074afacde96ce3ce67ccfe4b2a52b
Author: Wolf Tivy <wolf@tivy.com>
Date:   Wed, 24 Nov 2010 22:44:41 -0800

updated combo patch
Diffstat:
Mdwm.suckless.org/patches/combo.md | 20+++++++++++---------
Mdwm.suckless.org/patches/dwm-5.9-combo.diff | 10+++++++++-
2 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/dwm.suckless.org/patches/combo.md b/dwm.suckless.org/patches/combo.md @@ -1,24 +1,26 @@ -# COMBO - -## Description +COMBO +===== +Description +----------- This patch tweaks the tagging interface so that you can select multiple tags for tag or view by pressing all the right keys as a combo. For example to view tags 1 and 3, hold MOD and then press and hold 1 and 3 together. -This makes selecting multiple tags very easy and fluid. With this patch, -tagging goes from being a cool generalization of workspaces to something -actually usable. +This makes selecting multiple tags very easy and fluid. -## Applying +Applying +-------- The patch adds two functions that you have to know about: combotag and comboview. Replace the tag and view functions with these in TAGKEYS and any other places you want. combotag and comboview are totally compatible with tag and view so you could replace all usages if you wanted. -## Download +Download +-------- * [dwm-5.9-combo.diff](dwm-5.9-combo.diff) (2010-10-30) -## Author +Author +------ * Wolf Tivy - wolf at tivy dot com. diff --git a/dwm.suckless.org/patches/dwm-5.9-combo.diff b/dwm.suckless.org/patches/dwm-5.9-combo.diff @@ -1,6 +1,6 @@ diff -r c361034c5a1c dwm.c --- a/dwm.c Sat Sep 11 19:00:18 2010 +0000 -+++ b/dwm.c Wed Sep 22 17:44:34 2010 -0700 ++++ b/dwm.c Mon Nov 22 12:40:59 2010 -0800 @@ -243,6 +243,11 @@ static int xerrorstart(Display *dpy, XErrorEvent *ee); static void zoom(const Arg *arg); @@ -62,3 +62,11 @@ diff -r c361034c5a1c dwm.c void applyrules(Client *c) { const char *class, *instance; +@@ -425,6 +465,7 @@ + Monitor *m; + XButtonPressedEvent *ev = &e->xbutton; + ++ combo = 0; + click = ClkRootWin; + /* focus monitor if necessary */ + if((m = wintomon(ev->window)) && m != selmon) {