From 7b698e1fe153a72ea42e604fcabc548330a3cb10 Mon Sep 17 00:00:00 2001 From: o9000 Date: Thu, 5 Feb 2015 12:21:56 +0000 Subject: [PATCH] Fix issue 463: Launcher icon accepts all mouse buttons git-svn-id: http://tint2.googlecode.com/svn/trunk@687 121b4492-b84c-0410-8b4c-0d4edfb3f3cc --- src/tint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tint.c b/src/tint.c index 8938418..31fd2f3 100644 --- a/src/tint.c +++ b/src/tint.c @@ -517,7 +517,7 @@ void event_button_release (XEvent *e) return; } - if ( click_launcher(panel, e->xbutton.x, e->xbutton.y)) { + if (e->xbutton.button == 1 && click_launcher(panel, e->xbutton.x, e->xbutton.y)) { LauncherIcon *icon = click_launcher_icon(panel, e->xbutton.x, e->xbutton.y); if (icon) { launcher_action(icon, e);