diff options
| author | Victor Kareh <[email protected]> | 2026-04-02 13:38:49 -0400 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-05-04 09:44:19 -0400 |
| commit | 4d63a91c0ad9da7bc851df1bd8700737de2ec17f (patch) | |
| tree | 29f0ad8112f96df1799943d48e65f2d9054fe472 /src/fr-window.c | |
| parent | bd3658c2d4a24f2841ba1cdb1fa9aeff490df74f (diff) | |
| download | engrampa-4d63a91c0ad9da7bc851df1bd8700737de2ec17f.tar.bz2 engrampa-4d63a91c0ad9da7bc851df1bd8700737de2ec17f.tar.xz | |
fixed wrong drag&drop activation when in single click mode
when calling the parent button_press_event function a
button released event could be emitted, in that case
stop the drag&drop action.
Backported from https://gitlab.gnome.org/GNOME/file-roller/-/commit/279b76d6
Fixes #547
Diffstat (limited to 'src/fr-window.c')
| -rw-r--r-- | src/fr-window.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fr-window.c b/src/fr-window.c index d1ce30c..110367b 100644 --- a/src/fr-window.c +++ b/src/fr-window.c @@ -4153,6 +4153,11 @@ file_list_drag_begin (GtkWidget *widget, if (window->priv->activity_ref > 0) return FALSE; + if (window->priv->path_clicked != NULL) { + gtk_tree_path_free (window->priv->path_clicked); + window->priv->path_clicked = NULL; + } + g_free (window->priv->drag_destination_folder); window->priv->drag_destination_folder = NULL; |
