all repos — tint2 @ 7b698e1fe153a72ea42e604fcabc548330a3cb10

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

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
commit

7b698e1fe153a72ea42e604fcabc548330a3cb10

parent

f527a2639ba5cfac5f7f2789cdc5a7153801c3f8

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/tint.csrc/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);