fix mouse scroll in mc. Closes T661
This commit is contained in:
parent
edcf25c9af
commit
73310b6c88
|
@ -3480,7 +3480,7 @@ _smart_cb_mouse_wheel(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNU
|
||||||
break;
|
break;
|
||||||
case MOUSE_EXT_URXVT: // ESC.[.NUM.;.NUM.;.NUM.M
|
case MOUSE_EXT_URXVT: // ESC.[.NUM.;.NUM.;.NUM.M
|
||||||
{
|
{
|
||||||
int btn = (ev->z >= 0) ? 1 + 64 : 2 + 64;
|
int btn = (ev->z >= 0) ? 1 + 64 : 64;
|
||||||
snprintf(buf, sizeof(buf), "%c[%i;%i;%iM", 0x1b,
|
snprintf(buf, sizeof(buf), "%c[%i;%i;%iM", 0x1b,
|
||||||
btn + ' ',
|
btn + ' ',
|
||||||
cx + 1, cy + 1);
|
cx + 1, cy + 1);
|
||||||
|
|
Loading…
Reference in New Issue