fix gtk_window_begin_resize_drag's mouse button (#1920)

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
This commit is contained in:
Zámbó, Levente
2022-10-01 15:45:37 +10:00
committed by GitHub
co-authored by Lea Anthony
parent 2690250378
commit de49b1f125
+1 -1
View File
@@ -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;