diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-13 10:23:22 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-13 10:23:22 +0000 |
| commit | 07305ec7188fd44f7b6543a3f1f53bc0db3b090d (patch) | |
| tree | d45816f17e39a517b6ea3a3b2a3e468cc937ae73 /src/frame.hh | |
| parent | 1e58c863bbaddd2f2dbebfde740ca842e8837a1c (diff) | |
display icons in the frame titlebar!
Diffstat (limited to 'src/frame.hh')
| -rw-r--r-- | src/frame.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/frame.hh b/src/frame.hh index c5a9a312..df353c7d 100644 --- a/src/frame.hh +++ b/src/frame.hh @@ -9,6 +9,7 @@ extern "C" { #include <X11/Xlib.h> } +#include "client.hh" #include "python.hh" #include "otk/strut.hh" #include "otk/rect.hh" @@ -22,8 +23,6 @@ extern "C" { namespace ob { -class Client; - //! Varius geometry settings in the frame decorations struct FrameGeometry { int width; // title and handle @@ -66,6 +65,9 @@ private: otk::Rect _area; bool _visible; + + //! The decorations that are being displayed in the frame. + Client::DecorationFlags _decorations; // decoration windows Window _frame; // sits under everything @@ -144,6 +146,7 @@ public: void adjustState(); void adjustFocus(); void adjustTitle(); + void adjustIcon(); //! Applies gravity to the client's position to find where the frame should //! be positioned. |
