From: Thierry Lorthiois Date: Thu, 14 Jan 2010 21:24:03 +0000 (+0000) Subject: fixed left click on clock X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=3d8a0dd90e405c4fb89e121b3e27d2b2177c45e2;p=chaz%2Ftint2 fixed left click on clock --- diff --git a/src/tint.c b/src/tint.c index 3812b9d..0004f30 100644 --- a/src/tint.c +++ b/src/tint.c @@ -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;