diff options
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); |
