]> Dogcows Code - chaz/tint2/commitdiff
fixed left click on clock
authorThierry Lorthiois <lorthiois@bbsoft.fr>
Thu, 14 Jan 2010 21:24:03 +0000 (21:24 +0000)
committerThierry Lorthiois <lorthiois@bbsoft.fr>
Thu, 14 Jan 2010 21:24:03 +0000 (21:24 +0000)
src/tint.c

index 3812b9d3c28ccc949900bebc812c1a0028885241..0004f30ccb6770dfb812d67bcd5b6f05f5170edb 100644 (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;
This page took 0.025465 seconds and 4 git commands to generate.