Taskbar: thumbnails (interleave slow periodic throttling with event processing)
This commit is contained in:
parent
47201cab84
commit
7e6f7df55e
1 changed files with 1 additions and 1 deletions
|
@ -841,7 +841,7 @@ void taskbar_update_thumbnails(void *arg)
|
||||||
if (mode == THUMB_MODE_ALL) {
|
if (mode == THUMB_MODE_ALL) {
|
||||||
double now = get_time();
|
double now = get_time();
|
||||||
if (now - start_time > 0.030) {
|
if (now - start_time > 0.030) {
|
||||||
change_timeout(&thumbnail_update_timer_all, 10, 10 * 1000, taskbar_update_thumbnails, arg);
|
change_timeout(&thumbnail_update_timer_all, 50, 10 * 1000, taskbar_update_thumbnails, arg);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue