Don't pass the button index to popup() for the GtkMenu to avoid strange GTK behaviour in newer versions. Identified by coling
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@58 c17c95f2-f111-0410-90bf-f30a9569010c
This commit is contained in:
parent
1ce58dcf98
commit
4de2617bcd
|
@ -478,7 +478,7 @@ bool SinkInputWidget::on_button_press_event(GdkEventButton* event) {
|
|||
if (event->type == GDK_BUTTON_PRESS && event->button == 3) {
|
||||
clearMenu();
|
||||
buildMenu();
|
||||
menu.popup(event->button, event->time);
|
||||
menu.popup(0, event->time);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue