diff options
Diffstat (limited to 'plugins/gtkui/gtkui.c')
-rw-r--r-- | plugins/gtkui/gtkui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c index 1f85e38d..2bd84351 100644 --- a/plugins/gtkui/gtkui.c +++ b/plugins/gtkui/gtkui.c @@ -312,7 +312,7 @@ on_trayicon_button_press_event (GtkWidget *widget, if (event->button == 1 && event->type == GDK_BUTTON_PRESS) { mainwin_toggle_visible (); } - else if (event->button == 2) { + else if (event->button == 2 && event->type == GDK_BUTTON_PRESS) { deadbeef->sendmessage (DB_EV_TOGGLE_PAUSE, 0, 0, 0); } return FALSE; |