diff keynav.c @ 2:640c5e9ea6ad

use root window width and height when hiding mouse cursor, so that it really hides away on the bottom right corner in all cases
author paulo@thepaulopc
date Thu, 17 Jun 2010 00:56:16 -0700
parents 0d5dc7c29c78
children
line diff
     1.1 --- a/keynav.c	Thu Jun 17 00:50:35 2010 -0700
     1.2 +++ b/keynav.c	Thu Jun 17 00:56:16 2010 -0700
     1.3 @@ -420,7 +420,8 @@
     1.4  			} else if (chk_keysym(keysym, KEY_HIDE)) {
     1.5  				done++;
     1.6  				warp = 1;
     1.7 -				x = w; y = h;
     1.8 +				x = attr.width;
     1.9 +				y = attr.height;
    1.10  			} else if (chk_keysym(keysym, KEY_ESCAPE)) {
    1.11  				warp = 0;
    1.12  				done++;