diff options
Diffstat (limited to 'lib/egg/eggstatusicon.c')
-rw-r--r-- | lib/egg/eggstatusicon.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/egg/eggstatusicon.c b/lib/egg/eggstatusicon.c index 72dcef518..32c7d9d7c 100644 --- a/lib/egg/eggstatusicon.c +++ b/lib/egg/eggstatusicon.c @@ -563,7 +563,9 @@ static gboolean egg_status_icon_button_press (EggStatusIcon *status_icon, GdkEventButton *event) { - if (event->button == 1 && !status_icon->priv->button_down) + if (event->button == 1 && + event->type == GDK_2BUTTON_PRESS && + !status_icon->priv->button_down) { status_icon->priv->button_down = TRUE; return TRUE; |