Taskbar: thumbnails (only print debug info if DEBUG_THUMBNAILS environment variable is set)

This commit is contained in:
o9000
2017-11-17 15:15:15 +01:00
parent c0eaa8274f
commit f11d30f076
6 changed files with 29 additions and 43 deletions

View File

@@ -93,6 +93,7 @@ void handle_env_vars()
debug_fps = getenv("DEBUG_FPS") != NULL;
debug_frames = getenv("DEBUG_FRAMES") != NULL;
debug_dnd = getenv("DEBUG_DND") != NULL;
debug_thumbnails = getenv("DEBUG_THUMBNAILS") != NULL;
if (debug_fps) {
init_fps_distribution();
char *s = getenv("TRACING_FPS_THRESHOLD");