# HG changeset patch # User paulo@thepaulopc # Date 1276761376 25200 # Node ID 640c5e9ea6adaf1c735e02b28f34c312a804cc51 # Parent 0d5dc7c29c7892440b2af2795640d2ad69a40086 use root window width and height when hiding mouse cursor, so that it really hides away on the bottom right corner in all cases diff -r 0d5dc7c29c78 -r 640c5e9ea6ad keynav.c --- a/keynav.c Thu Jun 17 00:50:35 2010 -0700 +++ b/keynav.c Thu Jun 17 00:56:16 2010 -0700 @@ -420,7 +420,8 @@ } else if (chk_keysym(keysym, KEY_HIDE)) { done++; warp = 1; - x = w; y = h; + x = attr.width; + y = attr.height; } else if (chk_keysym(keysym, KEY_ESCAPE)) { warp = 0; done++;