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.
master
Vincent Vanlaer 7 years ago
parent 7ae8800a63
commit 6567a35903

@ -244,6 +244,9 @@ static void roots_cursor_press_button(struct roots_cursor *cursor,
roots_seat_begin_rotate(seat, view); roots_seat_begin_rotate(seat, view);
break; break;
} }
if (!is_touch) {
wlr_seat_pointer_notify_button(seat->seat, time, button, state);
}
return; return;
} }

Loading…
Cancel
Save