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:
@@ -263,7 +263,7 @@ int tint2_handles_click(Panel* panel, XButtonEvent* e)
|
|||||||
if (tskbar && e->button == 1 && panel_mode == MULTI_DESKTOP)
|
if (tskbar && e->button == 1 && panel_mode == MULTI_DESKTOP)
|
||||||
return 1;
|
return 1;
|
||||||
if (click_clock(panel, e->x, e->y)) {
|
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;
|
return 1;
|
||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user