diff --git a/argpopt.h b/argpopt.h index 0e924ad..9be6d2c 100644 --- a/argpopt.h +++ b/argpopt.h @@ -25,7 +25,7 @@ struct Config bool ignoreClientMachine = false; }; -const char *argp_program_version = "1.0.2"; +const char *argp_program_version = "1.0.3"; const char *argp_program_bug_address = ""; static char doc[] = "Deamon that stops programms via SIGSTOP when their X11 windows lose focus."; static char args_doc[] = ""; diff --git a/debian/changelog b/debian/changelog index 7a7aaee..80f8af4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,7 @@ +sigstoped (1.0.3) unstable; urgency=medium + Ignore BadWindow errors caused by faulty __NET_ACTIVE_WINDOW events + -- Uvos Mon, 15 Jun 2020 23:47:00 +0100 + sigstoped (1.0.2) unstable; urgency=medium Inital version -- Uvos Mon, 10 Jun 2020 15:00:00 +0100 diff --git a/main.cpp b/main.cpp index ff8a5f2..a14b2ef 100644 --- a/main.cpp +++ b/main.cpp @@ -159,7 +159,7 @@ int main(int argc, char* argv[]) std::string confDir = getConfdir(); if(confDir.size() == 0) return 1; - if(!createPidFile(confDir+"pidfile")); + if(!createPidFile(confDir+"pidfile")) return 1; std::vector applicationNames = getApplicationlist(confDir+"blacklist");