Files
sigstoped/debug.h
Carl Klemm 569ce05dbb Split source into multiple files
SIGUSR1 now causes reload of blacklist
sigstoped now resumes all processes it stoped upon reciving SIGINT or SIGTERM
sigstoped avoids stopping processes that have no top level window left TODO: is this enough?
2020-06-05 12:14:37 +02:00

11 lines
174 B
C++

#pragma once
#include <string>
#include <iostream>
constexpr bool DEBUG = false;
inline void debug(const std::string& in)
{
if constexpr (DEBUG) std::cout<<in<<'\n';
}