]> git.decadent.org.uk Git - ion3.git/blobdiff - ioncore/xwindow.c
Update cfg_kludge_flash for Flash 10
[ion3.git] / ioncore / xwindow.c
index 9ce3df2a7b76395a43845c47296aa1b8b40057d1..2842be40c3f1a6065f367ac50171c97654b4b451 100644 (file)
@@ -1,12 +1,9 @@
 /*
  * ion/ioncore/xwindow.c
  *
- * Copyright (c) Tuomo Valkonen 1999-2007
+ * Copyright (c) Tuomo Valkonen 1999-2009
  *
- * Ion is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
+ * See the included file LICENSE for details.
  */
 
 #include <string.h>
@@ -112,10 +109,10 @@ void xwindow_set_cursor(Window win, int cursor)
 bool xwindow_pointer_pos(Window rel, int *px, int *py)
 {
     Window win=None, realroot=None;
-    int wx=0, wy=0;
+    int rx=0, ry=0;
     uint mask=0;
     return XQueryPointer(ioncore_g.dpy, rel, &realroot, &win,
-                         px, py, &wx, &wy, &mask);
+                         &rx, &ry, px, py, &mask);
 }
 
 /*}}}*/