summaryrefslogtreecommitdiff
path: root/src/client.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-03 20:02:52 +0000
committerDana Jansens <danakj@orodu.net>2003-02-03 20:02:52 +0000
commit5dfd87b08505554688640357f3a07593f3bd9ec2 (patch)
treed6b3b825c4d32a9351404d7631ac5dafed488b88 /src/client.hh
parent02b9d474f1dad0fcb15f4832a582d99e51ee64b6 (diff)
add a focused() member
Diffstat (limited to 'src/client.hh')
-rw-r--r--src/client.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.hh b/src/client.hh
index ddfa687a..3e8652d8 100644
--- a/src/client.hh
+++ b/src/client.hh
@@ -538,6 +538,8 @@ BB @param window The window id that the Client class should handle
inline bool urgent() const { return _urgent; }
//! Returns if the window wants to be notified when it receives focus
inline bool focusNotify() const { return _focus_notify; }
+ //! Returns if the window is the focused window
+ inline bool focused() const { return _focused; }
//! Returns if the window uses the Shape extension
inline bool shaped() const { return _shaped; }
//! Returns the window's gravity
@@ -680,6 +682,8 @@ BB @param window The window id that the Client class should handle
*/
bool validate() const;
+ void installColormap(bool install) const;
+
virtual void focusHandler(const XFocusChangeEvent &e);
virtual void unfocusHandler(const XFocusChangeEvent &e);
virtual void propertyHandler(const XPropertyEvent &e);