Fix issue 463: Launcher icon accepts all mouse buttons
git-svn-id: http://tint2.googlecode.com/svn/trunk@687 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
f527a2639b
commit
7b698e1fe1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue