summaryrefslogtreecommitdiff
path: root/otk/eventdispatcher.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-04 07:12:13 +0000
committerDana Jansens <danakj@orodu.net>2002-12-04 07:12:13 +0000
commit4f01802c8cd0e0efc26896cf80e69dd9b6c06ec1 (patch)
tree3cd7dab1ceebcd22cae80c579e844e225ec84206 /otk/eventdispatcher.cc
parent23a7f188297ba3cef1bf13f1be9407ff6eb9bd62 (diff)
actions class can sorta handle mouse enter/leave and press/release events
Diffstat (limited to 'otk/eventdispatcher.cc')
-rw-r--r--otk/eventdispatcher.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/otk/eventdispatcher.cc b/otk/eventdispatcher.cc
index 5be1c6b1..d2e1a96e 100644
--- a/otk/eventdispatcher.cc
+++ b/otk/eventdispatcher.cc
@@ -34,7 +34,7 @@ void OtkEventDispatcher::clearHandler(Window id)
_map.erase(id);
}
-#include <stdio.h>
+//#include <stdio.h>
void OtkEventDispatcher::dispatchEvents(void)
{
XEvent e;
@@ -44,7 +44,7 @@ void OtkEventDispatcher::dispatchEvents(void)
while (XPending(OBDisplay::display)) {
XNextEvent(OBDisplay::display, &e);
-#ifdef DEBUG
+#if defined(DEBUG) && 0
printf("Event %d window %lx\n", e.type, e.xany.window);
#endif