plug-ins: imagemap, Don't show popup menu when button 1 is pressed
Showing the menu when dragging stuff around broke event handling in various ways. Also only show the menu on right click.
This commit is contained in:
@ -385,7 +385,7 @@ arrow_on_button_press(GtkWidget *widget, GdkEventButton *event, gpointer data)
|
||||
edit_shape((gint) event->x, (gint) event->y);
|
||||
else
|
||||
select_shape(widget, event);
|
||||
} else {
|
||||
} else if (!(event->state & GDK_BUTTON1_MASK) && event->button == 3) {
|
||||
do_popup_menu(event);
|
||||
}
|
||||
return FALSE;
|
||||
|
Reference in New Issue
Block a user