diff options
author | Srinivasa Ragavan <srinivasa.ragavan.venkateswaran@intel.com> | 2013-07-17 19:15:39 +0530 |
---|---|---|
committer | Srinivasa Ragavan <srinivasa.ragavan.venkateswaran@intel.com> | 2013-07-17 19:30:47 +0530 |
commit | fabea8532911c2e38d91aa6230136cff5e52f095 (patch) | |
tree | 19c1a02c8b93733aa161de618015da424f0f0d20 /eel | |
parent | 4a6353c6cf32bdf7fa99e12377f3c0a176872276 (diff) | |
download | nautilus-fabea8532911c2e38d91aa6230136cff5e52f095.tar.gz |
Store the correct current_item if it has changed. It is incorrect to
ignore the new current item just because the mouse is down. It is
later used for right click.
Fixes bgo #704289.
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-canvas.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c index 7ebd6ccd6..c929727fc 100644 --- a/eel/eel-canvas.c +++ b/eel/eel-canvas.c @@ -2593,6 +2593,7 @@ pick_current_item (EelCanvas *canvas, GdkEvent *event) /* new_current_item may have been set to NULL during the call to emit_event() above */ if ((canvas->new_current_item != canvas->current_item) && button_down) { + canvas->current_item = canvas->new_current_item; canvas->left_grabbed_item = TRUE; return retval; } |