*add* drag'n'drop task reordering
*fix* autohide and tooltip after SIGUSR1 *fix* send low_battery_cmd only once *fix* update clock if time difference > 60 sec (after hibernation or supsension) *fix* changed transient window behaviour git-svn-id: http://tint2.googlecode.com/svn/trunk@393 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -66,8 +66,11 @@ void update_clocks_sec(void* arg)
|
||||
|
||||
void update_clocks_min(void* arg)
|
||||
{
|
||||
// remember old_sec because after suspend/hibernate the clock should be updated directly, and not
|
||||
// on next minute change
|
||||
time_t old_sec = time_clock.tv_sec;
|
||||
gettimeofday(&time_clock, 0);
|
||||
if (time_clock.tv_sec % 60 == 0) {
|
||||
if (time_clock.tv_sec % 60 == 0 || time_clock.tv_sec - old_sec > 60) {
|
||||
int i;
|
||||
if (time1_format) {
|
||||
for (i=0 ; i < nb_panel ; i++)
|
||||
|
||||
Reference in New Issue
Block a user