summaryrefslogtreecommitdiff
path: root/otk/eventdispatcher.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-19 00:58:59 +0000
committerDana Jansens <danakj@orodu.net>2003-02-19 00:58:59 +0000
commitd647de97bec82fa6c229a4801908b847f631f031 (patch)
tree5369ed520bc4836dafa245844b67946673eb1401 /otk/eventdispatcher.hh
parentd8429b31b450c41973947eeec1f27af3b2807409 (diff)
add the new '-remote' option. let the dispatchEvents loop work in 'local' or 'remote' mode.
Diffstat (limited to 'otk/eventdispatcher.hh')
-rw-r--r--otk/eventdispatcher.hh12
1 files changed, 11 insertions, 1 deletions
diff --git a/otk/eventdispatcher.hh b/otk/eventdispatcher.hh
index 03f36299..35c3722e 100644
--- a/otk/eventdispatcher.hh
+++ b/otk/eventdispatcher.hh
@@ -19,7 +19,17 @@ public:
virtual void clearAllHandlers(void);
virtual void registerHandler(Window id, EventHandler *handler);
virtual void clearHandler(Window id);
- virtual void dispatchEvents(void);
+ //! Dispatch events from the X server to the appropriate EventHandlers
+ /*!
+ @param remote Is the Xserver on a remote (low bandwidth) connection or on a
+ local (high bandwidth) connection. This allows you to specify
+ 'false' in which case slightly different semantics are used
+ for event retrieval.<br>
+ The default is 'true' since this should generally be used,
+ only the Openbox window manager should need to specify
+ 'false' here.
+ */
+ virtual void dispatchEvents(bool remote = true);
inline void setFallbackHandler(EventHandler *fallback)
{ _fallback = fallback; }