diff options
author | waker <wakeroid@gmail.com> | 2011-05-19 22:03:43 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-05-19 22:03:43 +0200 |
commit | 874fda0dc7041326d869938c8b18c7d87529c68b (patch) | |
tree | 72003f9f9dfaa6d230f3f9ba85952d40a03b12c2 /plugins/gtkui/gtkui.c | |
parent | c8dbc585400905a78a94834facfa283ce1ee4708 (diff) |
don't react on middle-button double-click in tray icon
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; |