diff options
author | Peter Hofmann <scm@uninformativ.de> | 2013-09-07 17:06:47 +0200 |
---|---|---|
committer | Peter Hofmann <scm@uninformativ.de> | 2013-09-07 17:10:59 +0200 |
commit | b98a48576e380e6f3f953b3d01b25172449e14d7 (patch) | |
tree | 3afd92270f0c8cef934ff8f842acffe5878fcb4c /thumbs.h | |
parent | 26a624a543f2e723550996d76d90ccbb7b954aeb (diff) |
Warp pointer on first/last pixel
Previously, the pointer would get warped when it had left the window.
This doesn't work when sxiv is run in fullscreen mode (or similar -- see
dwm's monocle mode): The pointer can never leave the window in such
situations.
To fix this, warp the pointer when it's on the first/last pixel. To
avoid an endless warping loop, the new position must be at least one
pixel away from the next warp position.
Diffstat (limited to 'thumbs.h')
0 files changed, 0 insertions, 0 deletions