util: add scope tracer utility (hack, but more or less useful)
[staging/windowmanager.git] / src / util.cpp
index 1f2bc05..db61bc2 100644 (file)
@@ -24,6 +24,8 @@
 
 #include <unistd.h>
 
+thread_local int ScopeTrace::indent = 0;
+
 unique_fd::~unique_fd() {
    if (this->fd != -1) {
       close(this->fd);