Commit fabea853 authored by Srinivasa Ragavan's avatar Srinivasa Ragavan

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.
parent 4a6353c6
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment