Taskbar: thumbnails (small fixes and disable shm for now)

This commit is contained in:
o9000
2017-11-15 21:33:52 +01:00
parent 89ab1fa6c4
commit 5e6e1184fe
3 changed files with 8 additions and 8 deletions

View File

@@ -649,7 +649,8 @@ void set_task_state(Task *task, TaskState state)
if (!task || state == TASK_UNDEFINED || state >= TASK_STATE_COUNT)
return;
task_refresh_thumbnail(task);
if (!task->thumbnail)
task_refresh_thumbnail(task);
taskbar_start_thumbnail_timer(TRUE);
if (state == TASK_ACTIVE && task->current_state != state) {