From 0b72760cead4cc3a1b2b29a7dc6e36b59df2eef4 Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Tue, 3 Sep 2002 06:08:08 +0000 Subject: [PATCH] some debug messages for bug testing --- util/epist/screen.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.45.2