aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2017-06-05 01:02:41 +0200
committerBoris Faure <billiob@gmail.com>2017-06-05 01:02:41 +0200
commita168dc6645d0302b56259e6ac424cace6e9d44df (patch)
tree4bc1a55719cdd1590097f03a5abe2bfa0490bec0
parenttermio: fix mouse button event tracking in vim (diff)
downloadterminology-a168dc6645d0302b56259e6ac424cace6e9d44df.tar.gz
termio: ev was unused
-rw-r--r--src/bin/termio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index b1ca5fd..6d709f2 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -3793,7 +3793,7 @@ _rep_mouse_up(Termio *sd, Evas_Event_Mouse_Up *ev, int cx, int cy)
}
static Eina_Bool
-_rep_mouse_move(Termio *sd, Evas_Event_Mouse_Move *ev, int cx, int cy)
+_rep_mouse_move(Termio *sd, int cx, int cy)
{
char buf[64];
Eina_Bool ret = EINA_FALSE;
@@ -4400,7 +4400,7 @@ _smart_cb_mouse_move(void *data,
sd->mouse.cx = cx;
sd->mouse.cy = cy;
if (!shift && !ctrl)
- if (_rep_mouse_move(sd, ev, cx, cy)) return;
+ if (_rep_mouse_move(sd, cx, cy)) return;
if (sd->link.down.dnd)
{
sd->pty->selection.makesel = EINA_FALSE;