[wiki] [sites] wiki updated

From: <hg_AT_suckless.org>
Date: Fri, 26 Nov 2010 06:53:37 +0000 (UTC)

changeset: 645:7dd2abf1580d
tag: tip
user: Wolf Tivy <wolf_AT_tivy.com>
date: Thu Nov 25 23:09:33 2010 -0800
files: dwm.suckless.org/patches/dwm-5.9-combo.diff
description:
Fixed a bug in the bugfix for the combo patch for dwm.


diff -r 67ca6726106e -r 7dd2abf1580d dwm.suckless.org/patches/dwm-5.9-combo.diff
--- a/dwm.suckless.org/patches/dwm-5.9-combo.diff Wed Nov 24 22:44:41 2010 -0800
+++ b/dwm.suckless.org/patches/dwm-5.9-combo.diff Thu Nov 25 23:09:33 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 Mon Nov 22 12:40:59 2010 -0800
++++ b/dwm.c Thu Nov 25 22:54:04 2010 -0800
 _AT_@ -243,6 +243,11 @@
  static int xerrorstart(Display *dpy, XErrorEvent *ee);
  static void zoom(const Arg *arg);
_AT_@ -13,7 +13,15 @@
  /* variables */
  static const char broken[] = "broken";
  static char stext[256];
-_AT_@ -260,6 +265,7 @@
+_AT_@ -253,6 +258,7 @@
+ static unsigned int numlockmask = 0;
+ static void (*handler[LASTEvent]) (XEvent *) = {
+ [ButtonPress] = buttonpress,
++ [ButtonRelease] = keyrelease,
+ [ClientMessage] = clientmessage,
+ [ConfigureRequest] = configurerequest,
+ [ConfigureNotify] = configurenotify,
+_AT_@ -260,6 +266,7 @@
          [EnterNotify] = enternotify,
          [Expose] = expose,
          [FocusIn] = focusin,
_AT_@ -21,7 +29,7 @@
          [KeyPress] = keypress,
          [MappingNotify] = mappingnotify,
          [MapRequest] = maprequest,
-_AT_@ -282,6 +288,40 @@
+_AT_@ -282,6 +289,40 @@
  struct NumTags { char limitexceeded[LENGTH(tags) > 31 ? -1 : 1]; };
  
  /* function implementations */
_AT_@ -62,11 +70,3 @@
  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 Fri Nov 26 2010 - 07:53:37 CET

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