diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-29 08:58:28 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-29 08:58:28 +0000 |
| commit | 39c6969de2714904dec901c9d3f4e8b0ff01f062 (patch) | |
| tree | 7c3f301b30f2e8ae49fe9269b22ffc2b433150af /src/client.hh | |
| parent | 58dc93abb91452444b932f3b2d9bbcc8003891b0 (diff) | |
allow for the client to be validated.
don't manage override_redirect windows.
don't manage windows for whome get attributes fails.
validate the client before managing it.
validate the client in functions that query stuff off it: propertyHandler and clientMessageHandler
Diffstat (limited to 'src/client.hh')
| -rw-r--r-- | src/client.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client.hh b/src/client.hh index 0d846548..4bc7a517 100644 --- a/src/client.hh +++ b/src/client.hh @@ -602,6 +602,14 @@ BB @param window The window id that the Client class should handle //! Remove focus from the client window void unfocus() const; + //! Validate client, by making sure no Destroy or Unmap events exist in + //! the event queue for the window. + /*! + @return true if the client is valid; false if the client has already + been unmapped/destroyed, and so is invalid. + */ + bool validate() const; + virtual void focusHandler(const XFocusChangeEvent &e); virtual void unfocusHandler(const XFocusChangeEvent &e); virtual void propertyHandler(const XPropertyEvent &e); |
