comparison 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
comparison
equal deleted inserted replaced
1:ae68ab46d51c 2:4f8751c2dcef
418 warp = 1; 418 warp = 1;
419 click = 3; 419 click = 3;
420 } else if (chk_keysym(keysym, KEY_HIDE)) { 420 } else if (chk_keysym(keysym, KEY_HIDE)) {
421 done++; 421 done++;
422 warp = 1; 422 warp = 1;
423 x = w; y = h; 423 x = attr.width;
424 y = attr.height;
424 } else if (chk_keysym(keysym, KEY_ESCAPE)) { 425 } else if (chk_keysym(keysym, KEY_ESCAPE)) {
425 warp = 0; 426 warp = 0;
426 done++; 427 done++;
427 } else if (!drag && chk_keysym(keysym, KEY_ONE)) { 428 } else if (!drag && chk_keysym(keysym, KEY_ONE)) {
428 buttondown(1); 429 buttondown(1);