diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-04 08:02:08 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-04 08:02:08 +0000 |
| commit | 7bae794382c7a64a6427b16d1339b98120a5166f (patch) | |
| tree | fa57c08904038332abaff66eab0ad5e3651dd306 /src/screen.hh | |
| parent | 58cd3958a331e55699b3c1f640c0d2da907cdf22 (diff) | |
support net_wm_strut's! nothing to do with them yet however
Diffstat (limited to 'src/screen.hh')
| -rw-r--r-- | src/screen.hh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/screen.hh b/src/screen.hh index 91cf65c3..cb078082 100644 --- a/src/screen.hh +++ b/src/screen.hh @@ -83,8 +83,8 @@ private: //! Area usable for placement etc (total - struts) otk::Rect _area; - //! Areas of the screen reserved by applications - StrutList _struts; + //! Combined strut from all of the clients' struts + otk::Strut _strut; //! An offscreen window which gets focus when nothing else has it Window _focuswindow; @@ -142,10 +142,11 @@ public: //! An offscreen window which gets focus when nothing else has it inline Window focuswindow() const { return _focuswindow; } - //! Adds a window's strut to the screen's list of reserved spaces - void addStrut(otk::Strut *strut); - //! Removes a window's strut from the screen's list of reserved spaces - void removeStrut(otk::Strut *strut); + //! Update's the screen's combined strut of all the clients. + /*! + Clients should call this whenever they change their strut. + */ + void updateStrut(); //! Manage any pre-existing windows on the screen void manageExisting(); |
