forked from enlightenment/terminology
termiointernals: do not emit mouse wheel on mode X10
This commit is contained in:
parent
72afb80d6e
commit
5a98842d63
|
@ -2153,7 +2153,8 @@ termio_internal_mouse_wheel(Termio *sd,
|
|||
switch (sd->pty->mouse_ext)
|
||||
{
|
||||
case MOUSE_EXT_NONE:
|
||||
if ((cx < (0xff - ' ')) && (cy < (0xff - ' ')))
|
||||
if ((cx < (0xff - ' ')) && (cy < (0xff - ' ')) &&
|
||||
(sd->pty->mouse_mode != MOUSE_X10))
|
||||
{
|
||||
int btn = (ev->z >= 0) ? 1 + 64 : 64;
|
||||
|
||||
|
|
Loading…
Reference in New Issue