Skip to content

Commit 157281b

Browse files
committed
The ncurses interface ignores left and right tilt-mouse events, not left and left (sic) events. Copy/pasta error, I suspect.
1 parent 9eba9df commit 157281b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/mouse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ bool _add_raw_mouse_event( int button, int event_type, const int modifiers,
165165
mptr->y = y;
166166
if( SP->ncurses_mouse)
167167
{
168-
if( event_type == PDC_MOUSE_WHEEL_LEFT
168+
if( event_type == PDC_MOUSE_WHEEL_RIGHT
169169
|| event_type == PDC_MOUSE_WHEEL_LEFT)
170170
return( FALSE); /* 'real' ncurses interface doesn't know about tilt mice */
171171
if( event_type == PDC_MOUSE_WHEEL_UP)

0 commit comments

Comments
 (0)