sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 45a50d5afe013b31d9c94090d990bca49448d396
parent 07616c7c247bff0b776c8040718ea143a5c8485f
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed, 28 Mar 2018 14:26:22 -0400

Merge pull request #1641 from swaywm/transformed-events

Update input events per swaywm/wlroots#765
Diffstat:
Msway/input/cursor.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sway/input/cursor.c b/sway/input/cursor.c @@ -74,8 +74,7 @@ static void handle_cursor_motion_absolute(struct wl_listener *listener, struct sway_cursor *cursor = wl_container_of(listener, cursor, motion_absolute); struct wlr_event_pointer_motion_absolute *event = data; - wlr_cursor_warp_absolute(cursor->cursor, event->device, - event->x_mm / event->width_mm, event->y_mm / event->height_mm); + wlr_cursor_warp_absolute(cursor->cursor, event->device, event->x, event->y); cursor_update_position(cursor); cursor_send_pointer_motion(cursor, event->time_msec); }