Fix issue 463: Launcher icon accepts all mouse buttons git-svn-id: http://tint2.googlecode.com/svn/trunk@687 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
o9000 o9000
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/tint.c
→
src/tint.c
@@ -517,7 +517,7 @@ task_drag = 0;
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);