5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 17:22:01 +08:00

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 07:45:37 +02:00 committed by GitHub
parent 2690250378
commit de49b1f125
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;