]> Dogcows Code - chaz/openbox/commitdiff
some debug messages for bug testing
authorMarius Nita <marius@cs.pdx.edu>
Tue, 3 Sep 2002 06:08:08 +0000 (06:08 +0000)
committerMarius Nita <marius@cs.pdx.edu>
Tue, 3 Sep 2002 06:08:08 +0000 (06:08 +0000)
util/epist/screen.cc

index 1705202bc319ad82f36df47b4b1cb653a73da11a..995c76ef3f9e72c8cd9a102b9826e1a2178ade1e 100644 (file)
@@ -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;
 }
This page took 0.021733 seconds and 4 git commands to generate.