From 6567a359034c4a0829711e518fb284c7c5df5d44 Mon Sep 17 00:00:00 2001 From: Vincent Vanlaer Date: Tue, 6 Feb 2018 12:53:51 +0100 Subject: [PATCH] Update seat pointer on meta move/resize/rotate This will send the button pressed event to the client. This shouldn't be a problem since sebsequent pointer movements are not sent to the client. Thus the client will not for example start selecting text when it is being resized using the compositor keybindigns. --- rootston/cursor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootston/cursor.c b/rootston/cursor.c index 59996d30..0b490989 100644 --- a/rootston/cursor.c +++ b/rootston/cursor.c @@ -244,6 +244,9 @@ static void roots_cursor_press_button(struct roots_cursor *cursor, roots_seat_begin_rotate(seat, view); break; } + if (!is_touch) { + wlr_seat_pointer_notify_button(seat->seat, time, button, state); + } return; }