From 3d70cf85a217644ea0b8e629290431e84c923247 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 24 Sep 2006 17:15:39 +0000 Subject: remove doubleclick as rightclick on Mac OS X since the OS provides a standard method to rightclick with one-button mice svn path=/trunk/; revision=6010 --- .../remove_doubleclick_as_rightclick-0.39.2.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 packages/patches/remove_doubleclick_as_rightclick-0.39.2.patch (limited to 'packages') diff --git a/packages/patches/remove_doubleclick_as_rightclick-0.39.2.patch b/packages/patches/remove_doubleclick_as_rightclick-0.39.2.patch new file mode 100644 index 00000000..c832a3e3 --- /dev/null +++ b/packages/patches/remove_doubleclick_as_rightclick-0.39.2.patch @@ -0,0 +1,32 @@ +Index: g_editor.c +=================================================================== +RCS file: /cvsroot/pure-data/pd/src/g_editor.c,v +retrieving revision 1.13 +diff -u -w -r1.13 g_editor.c +--- g_editor.c 15 Sep 2005 03:17:27 -0000 1.13 ++++ g_editor.c 24 Sep 2006 17:12:48 -0000 +@@ -1027,12 +1027,6 @@ + #define ALTMOD 4 + #define RIGHTCLICK 8 + +-/* on one-button-mouse machines, you can use double click to +- mean right click (which gets the popup menu.) Do this for Mac. */ +-#ifdef MACOSX +-#define SIMULATERIGHTCLICK +-#endif +- + static double canvas_upclicktime; + static int canvas_upx, canvas_upy; + #define DCLICKINTERVAL 0.25 +@@ -1067,11 +1061,7 @@ + + if (doit && !runmode && xpos == canvas_upx && ypos == canvas_upy && + sys_getrealtime() - canvas_upclicktime < DCLICKINTERVAL) +-#ifdef SIMULATERIGHTCLICK +- rightclick = 1; +-#else + doublemod = 1; +-#endif + x->gl_editor->e_lastmoved = 0; + if (doit) + { -- cgit v1.2.1