[hackers] [dwm] applied yiyus tagbar patch || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Mon, 1 Sep 2008 21:18:56 +0000 (UTC)

changeset: 1351:3f66d2d2cd6e
tag: tip
user: Anselm R Garbe <garbeam_AT_gmail.com>
date: Mon Sep 01 22:18:50 2008 +0100
files: dwm.c
description:
applied yiyus tagbar patch

diff -r d95d9bae4dc3 -r 3f66d2d2cd6e dwm.c
--- a/dwm.c Mon Sep 01 08:22:11 2008 +0000
+++ b/dwm.c Mon Sep 01 22:18:50 2008 +0100
@@ -331,7 +331,7 @@
         for(i = 0; i < LENGTH(buttons); i++)
                 if(click == buttons[i].click && buttons[i].func && buttons[i].button == ev->button
                    && CLEANMASK(buttons[i].mask) == CLEANMASK(ev->state))
- buttons[i].func(click == ClkTagBar ? &arg : &buttons[i].arg);
+ buttons[i].func(click == ClkTagBar && buttons[i].arg.i == 0 ? &arg : &buttons[i].arg);
 }
 
 void
Received on Mon Sep 01 2008 - 21:18:56 UTC

This archive was generated by hypermail 2.2.0 : Mon Sep 01 2008 - 21:24:03 UTC