Update input/drivers/udev_input.c

sure. commited already.

Co-Authored-By: Rob Loach <robloach@gmail.com>
This commit is contained in:
arstn 2019-07-11 17:25:57 +02:00 committed by GitHub
parent c222e6674a
commit 63494f88cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -680,7 +680,7 @@ static void udev_input_adopt_rel_pointer_position_from_mouse(int *x, int *y, ude
int minY = view.y;
int maxY = view.y + view.height;
// not running in a window
/* Not running in a window. */
noX11DispX = noX11DispX + dx;
if (noX11DispX < minX)
noX11DispX = minX;