telmich / gpm

general purpose mouse
http://www.nico.schottelius.org/software/gpm/
GNU General Public License v2.0
84 stars 28 forks source link

When pressing LMB at the left screen edge, Gpm_Event::x is 0 (instead of 1) #27

Closed msokalski closed 6 years ago

msokalski commented 6 years ago

Seams like Gpm_Events with type = GPM_DRAG or GPM_UP reports have differently rounded x coordinate than other event types. When pressing LMB at the left screen edge, Gpm_Event::x is 0 (instead of 1). That happens only if mouse is positioned at the left screen edge "in pixels". After moving mouse very slightly to the right (while cursor still occupies same character cell) works fine, Gpm_Event::x is 1 for all types of events.

I've tested it on Fedora and Arch, using different mice, everywhere same issue.

msokalski commented 6 years ago

Oops, closing it - this is a feature not a bug!