summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-26 10:58:05 +0000
committerDana Jansens <danakj@orodu.net>2002-12-26 10:58:05 +0000
commit150c28620e1f14b7249038068bccca9563526377 (patch)
tree8a861ecfab2c1752418f499734ad6d8581278e24
parent6935f346b434ba5dea347024f2095069c100b97b (diff)
build fixes for evetdispatcher
-rw-r--r--otk/eventdispatcher.cc4
-rw-r--r--otk/eventdispatcher.hh1
2 files changed, 3 insertions, 2 deletions
diff --git a/otk/eventdispatcher.cc b/otk/eventdispatcher.cc
index 73c329e8..4a70c857 100644
--- a/otk/eventdispatcher.cc
+++ b/otk/eventdispatcher.cc
@@ -123,8 +123,8 @@ void OtkEventDispatcher::dispatch(const XEvent &e) {
if (handler)
handler->handle(e);
- if (master)
- master->handle(e);
+ if (_master)
+ _master->handle(e);
}
OtkEventHandler *OtkEventDispatcher::findHandler(Window win)
diff --git a/otk/eventdispatcher.hh b/otk/eventdispatcher.hh
index 716a8118..f0e23c8f 100644
--- a/otk/eventdispatcher.hh
+++ b/otk/eventdispatcher.hh
@@ -36,6 +36,7 @@ private:
OtkEventMap _map;
OtkEventHandler *_fallback;
OtkEventHandler *_master;
+ Window _focus;
XEvent _focus_e;
//! The time at which the last XEvent with a time was received