File source-xdvik-events.dif of Package texlive

--- texk/xdvik/events.c	2014/04/17 07:12:06	1.413
+++ texk/xdvik/events.c	2014/04/27 05:35:02	1.414
@@ -5306,7 +5306,7 @@
 		}
 
 		if (actp->proc == Act_wheel) {
-#  if XAW
+#  if !MOTIF
 		    if (globals.widgets.y_bar != NULL)
 			XtCallCallbacks(globals.widgets.y_bar, XtNscrollProc,
 			  cast_int_to_XtPointer(dist));
@@ -5317,7 +5317,7 @@
 #  endif /* MOTIF */
 		}
 		else {	/* Act_hwheel */
-#  if XAW
+#  if !MOTIF
 		    if (globals.widgets.x_bar != NULL)
 			XtCallCallbacks(globals.widgets.x_bar, XtNscrollProc,
 			  cast_int_to_XtPointer(dist));
openSUSE Build Service is sponsored by