sway

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

commit 7c44c769891553d1940285a1264b5fbe8de76c75
parent 284dcb2dc747f783f767121fe01fa7202da30e4e
Author: Some Chinese Guy <freemancrowbar100500@gmail.com>
Date:   Fri,  3 Apr 2020 17:41:49 +0300

swapped hiding the cursor and sending a touch event as a more logical sequence

Diffstat:
Msway/input/cursor.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/input/cursor.c b/sway/input/cursor.c @@ -364,9 +364,9 @@ static void handle_touch_down(struct wl_listener *listener, void *data) { // TODO: fall back to cursor simulation if client has not bound to touch if (seat_is_input_allowed(seat, surface)) { + cursor_hide(cursor); wlr_seat_touch_notify_down(wlr_seat, surface, event->time_msec, event->touch_id, sx, sy); - cursor_hide(cursor); } seat_set_focus(seat, focused_node);