mirror of
https://gitlab.freedesktop.org/pulseaudio/pavucontrol.git
synced 2026-05-07 07:18:01 +02:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue