From de49b1f1255e233a3c9bdf0cf0b34e24c5409569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Z=C3=A1mb=C3=B3=2C=20Levente?= Date: Sat, 1 Oct 2022 07:45:37 +0200 Subject: [PATCH] fix gtk_window_begin_resize_drag's mouse button (#1920) Co-authored-by: Lea Anthony --- v2/internal/frontend/desktop/linux/window.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/internal/frontend/desktop/linux/window.go b/v2/internal/frontend/desktop/linux/window.go index e7033fe9..f414c0cf 100644 --- a/v2/internal/frontend/desktop/linux/window.go +++ b/v2/internal/frontend/desktop/linux/window.go @@ -286,7 +286,7 @@ static gboolean startResize(gpointer data) { return G_SOURCE_REMOVE; } - gtk_window_begin_resize_drag(options->mainwindow, options->edge, 1, xroot, yroot, dragTime); + gtk_window_begin_resize_drag(options->mainwindow, options->edge, mouseButton, xroot, yroot, dragTime); free(data); return G_SOURCE_REMOVE;