fix mouse scroll in mc. Closes T661

This commit is contained in:
Boris Faure 2013-12-15 21:32:00 +01:00
parent edcf25c9af
commit 73310b6c88
1 changed files with 1 additions and 1 deletions

View File

@ -3480,7 +3480,7 @@ _smart_cb_mouse_wheel(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNU
break;
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,
btn + ' ',
cx + 1, cy + 1);