~sircmpwn/wio

[PATCH 2/4] Move views by dragging their borders

Details
Message ID
<20200618193050.265932-2-goleo@disroot.org>
DKIM signature
missing
Download raw message
Patch: +5 -0
---
 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
Reply to thread Export thread (mbox)