all repos — openbox @ 889df8a74da733c849cb52c3a76ae59956755882

openbox fork - make it a bit more like ryudo

clarify an incorrect comment, and make some funcs const
Dana Jansens danakj@orodu.net
commit

889df8a74da733c849cb52c3a76ae59956755882

parent

ada98dd585a8a677a6844597bacce0c5427de316

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

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

@@ -454,8 +454,7 @@ */

inline bool modal() const { return _modal; } //! Returns if the window is shaded /*! - When the window is shaded, only its titlebar is visible, the client itself - is not mapped + When the window is shaded, only its titlebar is visible. */ inline bool shaded() const { return _shaded; } //! Returns if the window is iconified

@@ -514,10 +513,10 @@ */

void shade(bool shade); //! Attempt to focus the client window - bool focus(); + bool focus() const; //! Remove focus from the client window - void unfocus(); + void unfocus() const; virtual void focusHandler(const XFocusChangeEvent &e); virtual void unfocusHandler(const XFocusChangeEvent &e);