Mouse functions are now in a separate class
This commit is contained in:
parent
afe15753f7
commit
460dff3291
|
@ -14,6 +14,7 @@ addons:
|
||||||
- libtool
|
- libtool
|
||||||
- libglib2.0-dev
|
- libglib2.0-dev
|
||||||
- libncurses5-dev
|
- libncurses5-dev
|
||||||
|
- gpm
|
||||||
- libgpm-dev
|
- libgpm-dev
|
||||||
- gperf
|
- gperf
|
||||||
|
|
||||||
|
|
|
@ -1036,7 +1036,7 @@ void FMouseUrxvt::processEvent (struct timeval* time)
|
||||||
y = 1;
|
y = 1;
|
||||||
|
|
||||||
if ( x > max_width )
|
if ( x > max_width )
|
||||||
x = max_height;
|
x = max_width;
|
||||||
|
|
||||||
if ( y > max_height )
|
if ( y > max_height )
|
||||||
y = max_height;
|
y = max_height;
|
||||||
|
|
Loading…
Reference in New Issue