--- a/pidgin/gtkroomlist.c Fri Sep 08 00:55:18 2017 -0400 +++ b/pidgin/gtkroomlist.c Fri Sep 08 19:43:07 2017 -0400 @@ -298,7 +298,7 @@ GtkWidget *menu; static struct _menu_cb_info info; /* XXX? */ - if (event->button != 3 || event->type != GDK_BUTTON_PRESS) + if (!gdk_event_triggers_context_menu((GdkEvent *)event)) return FALSE; /* Here we figure out which room was clicked */