| 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; |