chiark / gitweb /
Sort out a bit of confusion between mouse- and keyboard-driven drags
authorSimon Tatham <anakin@pobox.com>
Tue, 31 Jan 2012 08:38:42 +0000 (08:38 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 31 Jan 2012 08:38:42 +0000 (08:38 +0000)
commited63f9c50efeb26f3decade7dc50c7b0efa008ae
tree6b46f080e9c60791218ed19be22cc00b0a2d3c49
parentf3168895c89e706c53c881f53ba3dfc0fc1150ec
Sort out a bit of confusion between mouse- and keyboard-driven drags
in Rectangles. Mouse drags now take priority - you can't start a
keyboard drag while the mouse is held down, and starting a mouse drag
instantly cancels an unfinished keyboard drag - and also I've fixed an
assertion failure which would come up if you had the keyboard cursor
visible at the end of a mouse drag (by pressing arrow keys while the
mouse was held down).

[originally from svn r9393]
rect.c