[wiki] [sites] wiki updated

From: <hg_AT_suckless.org>
Date: Thu, 25 Nov 2010 06:30:40 +0000 (UTC)

changeset: 644:67ca6726106e
tag: tip
user: Wolf Tivy <wolf_AT_tivy.com>
date: Wed Nov 24 22:44:41 2010 -0800
files: dwm.suckless.org/patches/combo.md dwm.suckless.org/patches/dwm-5.9-combo.diff
description:
updated combo patch


diff -r e2afba1bfbe5 -r 67ca6726106e dwm.suckless.org/patches/combo.md
--- a/dwm.suckless.org/patches/combo.md Sat Nov 20 18:55:59 2010 +0000
+++ b/dwm.suckless.org/patches/combo.md Wed Nov 24 22:44:41 2010 -0800
_AT_@ -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 -r e2afba1bfbe5 -r 67ca6726106e dwm.suckless.org/patches/dwm-5.9-combo.diff
--- a/dwm.suckless.org/patches/dwm-5.9-combo.diff Sat Nov 20 18:55:59 2010 +0000
+++ b/dwm.suckless.org/patches/dwm-5.9-combo.diff Wed Nov 24 22:44:41 2010 -0800
_AT_@ -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
 _AT_@ -243,6 +243,11 @@
  static int xerrorstart(Display *dpy, XErrorEvent *ee);
  static void zoom(const Arg *arg);
_AT_@ -62,3 +62,11 @@
  void
  applyrules(Client *c) {
          const char *class, *instance;
+_AT_@ -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) {
Received on Thu Nov 25 2010 - 07:30:40 CET

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:31:31 CEST