Assign mouse x/y coords before checking them. When receiving mouse
commit784b711393f99523482515d7e6d0114f96f2ecec
authornicm <nicm>
Thu, 10 Oct 2013 11:57:52 +0000 (10 11:57 +0000)
committernicm <nicm>
Thu, 10 Oct 2013 11:57:52 +0000 (10 11:57 +0000)
treeb9a31f005c2f4192b6bc62d9188849be74626084
parent81a548bcc4bf4e85935ce8ee65217b41d094d990
Assign mouse x/y coords before checking them. When receiving mouse
inputs, we should set the x/y coordinates earlier than we currently do,
so that we aren't off-by-one in the case when the statusbar is at the
top of the screen. By Thomas Adam.
tty-keys.c