diff --git a/wmclock/wmclock.c b/wmclock/wmclock.c index 9dfd287..d65e7e6 100644 --- a/wmclock/wmclock.c +++ b/wmclock/wmclock.c @@ -849,7 +849,14 @@ int main(int argc, char **argv) #endif /* !ONLY_SHAPED_WINDOW */ for (i = 0; i < NUM_TIME_POSITIONS; i++) { - xPos[i] += enable12HourClock ? timePos24[i] : timePos12[i]; + if (enable12HourClock && (!enableYearDisplay)) + { + xPos[i] += timePos24[i]; + } + else + { + xPos[i] += timePos12[i]; + } } /* Open the display */