summaryrefslogtreecommitdiff
path: root/system/imwheel/noautoconfigurator.patch
diff options
context:
space:
mode:
authorDavid Woodfall <info@davidwoodfall.co.uk>2010-03-03 14:26:49 -0600
committerErik Hanson <erik@slackbuilds.org>2010-05-13 13:25:32 +0200
commitcf778870f7ac12c33c957c051fbbc2a8c389e34d (patch)
tree1f2e1da004f1d8960c89c7d647be9bb8378ec482 /system/imwheel/noautoconfigurator.patch
parentafecc715a0ea1beff2d6ac74923767bcb8c904b1 (diff)
downloadslackbuilds-cf778870f7ac12c33c957c051fbbc2a8c389e34d.tar.gz
system/imwheel: Build bump.
Fixed broken ETCDIR so it now points to $PKG/etc. Added patch to disable the auto configuration window that interfered with workspace switching in fluxbox etc. Thanks to David Woodfall.
Diffstat (limited to 'system/imwheel/noautoconfigurator.patch')
-rw-r--r--system/imwheel/noautoconfigurator.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/system/imwheel/noautoconfigurator.patch b/system/imwheel/noautoconfigurator.patch
new file mode 100644
index 0000000000..932c70eee2
--- /dev/null
+++ b/system/imwheel/noautoconfigurator.patch
@@ -0,0 +1,28 @@
+diff -Naur imwheel-1.0.0pre12-orig/imwheel.c imwheel-1.0.0pre12/imwheel.c
+--- imwheel-1.0.0pre12-orig/imwheel.c 2004-08-29 11:22:03.000000000 +0100
++++ imwheel-1.0.0pre12/imwheel.c 2010-02-26 14:36:08.000000000 +0000
+@@ -586,6 +586,8 @@
+ }
+ history[HISTORY_LENGTH-1].motion=button;
+ history[HISTORY_LENGTH-1].t =time(NULL);
++
++ // patching this out
+ // Configure if in root and toggling wheel
+ if(!pointer_window)
+ {
+@@ -595,6 +597,7 @@
+ if(strcmp(wap->id,"\\(root\\)"))
+ continue; //no root action defined!
+ }
++/*
+ else
+ {
+ for(j=1,i=0;j&&i<HISTORY_LENGTH;i++)
+@@ -608,6 +611,7 @@
+ Printf("No config...\n");
+ continue; // No wheel actions needed in root window!
+ }
++*/
+ }
+ else
+ wap=findWA(d,button,wname,xch.res_name,xch.res_class,xmk,km);