blob: d87d1195d5a0b7a19386851f2c0493cd3906b936 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- gdk/src/jni/org_gnu_gdk_Display.c.orig Sat Feb 7 20:32:44 2004
+++ gdk/src/jni/org_gnu_gdk_Display.c Sat Feb 7 20:39:35 2004
@@ -272,7 +272,8 @@
JNIEXPORT jint JNICALL Java_org_gnu_gdk_Display_gdk_1display_1get_1window_1at_1pointer
(JNIEnv *env, jclass cls, jint display, jint x, jint y)
{
- return (jint)gdk_display_get_window_at_pointer((GdkDisplay*)display, &(gint)x, &(gint)y);
+ gint gy = (gint)y, gx = (gint)x;
+ return (jint)gdk_display_get_window_at_pointer((GdkDisplay*)display, &gx, &gy);
}
/*
|