enable shared memory method of getting window screenshot

This commit is contained in:
Chris Lee
2019-03-03 01:46:59 +01:00
parent d682756012
commit 6c36f79aae
3 changed files with 5 additions and 2 deletions

View File

@@ -107,6 +107,7 @@ void handle_env_vars()
debug_thumbnails = getenv("DEBUG_THUMBNAILS") != NULL;
debug_timers = getenv("DEBUG_TIMERS") != NULL;
debug_executors = getenv("DEBUG_EXECUTORS") != NULL;
thumb_use_shm = getenv("TINT2_THUMBNAIL_SHM") != NULL;
if (debug_fps) {
init_fps_distribution();
char *s = getenv("TRACING_FPS_THRESHOLD");