Handle alt + cursor button outside view

This commit is contained in:
Johan Malm 2021-07-21 19:27:11 +01:00
parent 2b9c6a503c
commit 0eac290d54

View file

@ -275,6 +275,10 @@ static void
handle_cursor_button_with_meta_key(struct view *view, uint32_t button,
double lx, double ly)
{
if (!view) {
return;
}
/* move */
if (button == BTN_LEFT) {
interactive_begin(view, LAB_INPUT_STATE_MOVE, 0);