From: Marius Nita Date: Tue, 3 Sep 2002 06:08:08 +0000 (+0000) Subject: some debug messages for bug testing X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=0b72760cead4cc3a1b2b29a7dc6e36b59df2eef4;p=chaz%2Fopenbox some debug messages for bug testing --- diff --git a/util/epist/screen.cc b/util/epist/screen.cc index 1705202b..995c76ef 100644 --- a/util/epist/screen.cc +++ b/util/epist/screen.cc @@ -830,9 +830,13 @@ bool screen::nothingIsPressed(void) const XQueryKeymap(_epist->getXDisplay(), keys); for (int i = 0; i < 32; ++i) { - if (keys[i] != 0) + if (keys[i] != 0) { + cout << "debug: not all keys have been released.\n"; return false; + } } + cout << "debug: all keys have been released.\n"; + return true; }