summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-04-17 16:44:16 +0300
committermonsta <[email protected]>2017-04-17 16:44:16 +0300
commita6a7045edacd0f3d887886f7e6cbf0c770567d49 (patch)
tree01a365a97245a87ffade577bce8dea6c55daf9a1 /eel
parenta7be32e587211cdd04b57c5459fa69831cde62d3 (diff)
downloadcaja-a6a7045edacd0f3d887886f7e6cbf0c770567d49.tar.bz2
caja-a6a7045edacd0f3d887886f7e6cbf0c770567d49.tar.xz
show correct right-click menu after making selection
taken from: https://git.gnome.org/browse/nautilus/commit/?id=fabea8532911c2e38d91aa6230136cff5e52f095 upstream bug with detailed description: https://bugzilla.gnome.org/704289
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-canvas.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c
index 97a6a2f0..6e01bf2e 100644
--- a/eel/eel-canvas.c
+++ b/eel/eel-canvas.c
@@ -2816,6 +2816,7 @@ pick_current_item (EelCanvas *canvas, GdkEvent *event)
if ((canvas->new_current_item != canvas->current_item) && button_down)
{
+ canvas->current_item = canvas->new_current_item;
canvas->left_grabbed_item = TRUE;
return retval;
}