diff options
author | Vincent Vanlaer <vincent.vanlaer@skynet.be> | 2018-02-06 12:53:51 +0100 |
---|---|---|
committer | Vincent Vanlaer <vincent.vanlaer@skynet.be> | 2018-02-06 12:53:51 +0100 |
commit | 6567a359034c4a0829711e518fb284c7c5df5d44 (patch) | |
tree | 61d9db8ac4707861a126e622bb575f0f296cb54f | |
parent | 7ae8800a637f9c4b0bc0ab33e10bc40fc30f91fa (diff) |
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.
-rw-r--r-- | rootston/cursor.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |