mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 04:11:05 +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:
parent
2690250378
commit
de49b1f125
@ -286,7 +286,7 @@ static gboolean startResize(gpointer data) {
|
|||||||
return G_SOURCE_REMOVE;
|
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);
|
free(data);
|
||||||
|
|
||||||
return G_SOURCE_REMOVE;
|
return G_SOURCE_REMOVE;
|
||||||
|
Loading…
Reference in New Issue
Block a user