---
input.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/input.c b/input.c
index b7be393..3b177fa 100644
--- a/input.c
+++ b/input.c
@@ -433,6 +433,11 @@ void server_cursor_button(struct wl_listener *listener, void *data) {
event->time_msec, event->button, event->state);
break;
default:
+ if (event->button == BTN_RIGHT) {
+ view_begin_interactive(view, surface, sx, sy,
+ "grabbing", INPUT_STATE_MOVE);
+ break;
+ }
corner = corners[view->area];
view_begin_interactive(view, surface, view->x, view->y,
corner, INPUT_STATE_BORDER_DRAG);
--
2.27.0