X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Ftint.c;h=0004f30ccb6770dfb812d67bcd5b6f05f5170edb;hb=3d8a0dd90e405c4fb89e121b3e27d2b2177c45e2;hp=3812b9d3c28ccc949900bebc812c1a0028885241;hpb=d1efbd72c7ff364eed326c16eaf2b20599b089e5;p=chaz%2Ftint2 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;