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.
This commit is contained in:
Vincent Vanlaer 2018-02-06 12:53:51 +01:00
parent 7ae8800a63
commit 6567a35903

View file

@ -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;
}