From 460dff329142da2692ead320009d73884b8135f8 Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Sun, 14 Jan 2018 22:39:17 +0100 Subject: [PATCH] Mouse functions are now in a separate class --- .travis.yml | 1 + src/fmouse.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 32533727..01e9f5c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ addons: - libtool - libglib2.0-dev - libncurses5-dev + - gpm - libgpm-dev - gperf diff --git a/src/fmouse.cpp b/src/fmouse.cpp index 1a2caa14..79d42698 100644 --- a/src/fmouse.cpp +++ b/src/fmouse.cpp @@ -1036,7 +1036,7 @@ void FMouseUrxvt::processEvent (struct timeval* time) y = 1; if ( x > max_width ) - x = max_height; + x = max_width; if ( y > max_height ) y = max_height;