fixed left click on clock
git-svn-id: http://tint2.googlecode.com/svn/trunk@349 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
8ce26f30f5
commit
961229a64b
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ int tint2_handles_click(Panel* panel, XButtonEvent* e)
|
|||
if (tskbar && e->button == 1 && panel_mode == MULTI_DESKTOP)
|
||||
return 1;
|
||||
if (click_clock(panel, e->x, e->y)) {
|
||||
if ( (e->button == 1 && clock_lclick_command) || (e->button == 2 && clock_rclick_command) )
|
||||
if ( (e->button == 1 && clock_lclick_command) || (e->button == 3 && clock_rclick_command) )
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue