pidgin/gtkconv.c

changeset 15679
4d2def31970b
parent 15663
47c40802ea76
child 15692
ecda27df58b9
equal deleted inserted replaced
15678:7434ef155a3a 15679:4d2def31970b
7253 gint nb_x, nb_y, x_rel, y_rel; 7253 gint nb_x, nb_y, x_rel, y_rel;
7254 int tab_clicked; 7254 int tab_clicked;
7255 GtkWidget *page; 7255 GtkWidget *page;
7256 GtkWidget *tab; 7256 GtkWidget *tab;
7257 7257
7258 if (e->button == 2) { 7258 if (e->button == 2 && e->type == GDK_BUTTON_PRESS) {
7259 PidginConversation *gtkconv; 7259 PidginConversation *gtkconv;
7260 tab_clicked = pidgin_conv_get_tab_at_xy(win, e->x_root, e->y_root, NULL); 7260 tab_clicked = pidgin_conv_get_tab_at_xy(win, e->x_root, e->y_root, NULL);
7261 7261
7262 if (tab_clicked == -1) 7262 if (tab_clicked == -1)
7263 return FALSE; 7263 return FALSE;

mercurial