blob: a69cbcd184d7c49216a8911e388a8d0f4bb4381b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-src_Scrollbar.c,v 1.1 2015/12/03 17:34:56 leot Exp $
Fix compilation error with Xaw-Xpm:
http://git.savannah.gnu.org/cgit/gv.git/commit/gv/src?id=0155aaac7a2e87e253f9203944808388ecffe9a3
--- src/Scrollbar.c.orig 2012-04-01 14:43:24.000000000 +0000
+++ src/Scrollbar.c
@@ -1006,7 +1006,11 @@ static void Redisplay(Widget w, XEvent *
TOPLOC = newtop;
SHOWNLENGTH = newbot-newtop+1;
+#if defined(XtRRelief)
(*swclass->threeD_class.shadowdraw) (w, event, region, sbw->threeD.relief, FALSE);
+#else
+ (*swclass->threeD_class.shadowdraw) (w, event, region, FALSE);
+#endif
ENDMESSAGE(Redisplay)
}
|