summaryrefslogtreecommitdiff
path: root/source/xap/xpaint/xpaint_xaw3d_no_scroll_mode.diff
blob: f89b12c1de1b38db6345218bbc417d11083af178 (plain)
1
2
3
4
5
6
7
8
9
10
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;