/*
* ion/ioncore/xwindow.c
*
- * Copyright (c) Tuomo Valkonen 1999-2006.
+ * Copyright (c) Tuomo Valkonen 1999-2007.
*
* 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
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);
}
/*}}}*/