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:
thilor77 2010-01-14 21:24:03 +00:00
parent 8ce26f30f5
commit 961229a64b

View file

@ -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;