all repos — openbox @ 5dfd87b08505554688640357f3a07593f3bd9ec2

openbox fork - make it a bit more like ryudo

add a focused() member
Dana Jansens danakj@orodu.net
commit

5dfd87b08505554688640357f3a07593f3bd9ec2

parent

02b9d474f1dad0fcb15f4832a582d99e51ee64b6

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M src/client.hhsrc/client.hh

@@ -538,6 +538,8 @@ //! Returns if the window has indicated that it needs urgent attention

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 @@ been unmapped/destroyed, and so is invalid.

*/ 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);