summaryrefslogtreecommitdiff
path: root/source/xap/xpaint/xpaint_xaw3d_no_scroll_mode.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/xpaint/xpaint_xaw3d_no_scroll_mode.diff')
-rw-r--r--source/xap/xpaint/xpaint_xaw3d_no_scroll_mode.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/xap/xpaint/xpaint_xaw3d_no_scroll_mode.diff b/source/xap/xpaint/xpaint_xaw3d_no_scroll_mode.diff
new file mode 100644
index 00000000..f89b12c1
--- /dev/null
+++ b/source/xap/xpaint/xpaint_xaw3d_no_scroll_mode.diff
@@ -0,0 +1,11 @@
+--- xpaint-2.7.8.1/misc.c.orig 2005-04-24 11:57:52.000000000 +0000
++++ xpaint-2.7.8.1/misc.c 2008-11-06 21:43:46.000000000 +0000
+@@ -671,7 +671,7 @@
+ }
+ else return;
+ if (sb == None) return;
+-#ifdef XAW3DG
++#if defined(XAW3DG) && defined(XAW_ARROW_SCROLLBARS)
+ if (((ScrollbarWidget)sb)->scrollbar.scroll_mode == 2 /* if scroll continuous */
+ || LookAhead (sb, event))
+ return;