diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-21 23:58:09 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-21 23:58:09 +0000 |
| commit | bcb14a3ce94ee4b4cba07de7a297470719390331 (patch) | |
| tree | 5a94dc70a96a1e513886554e993c3260a176b44c /src/Screen.hh | |
| parent | a0cf45a0ef5f7e2cbf0833f4d8655131912400cc (diff) | |
acquire and provide Xinerama information for the window manager. now we just gotta use it.
Diffstat (limited to 'src/Screen.hh')
| -rw-r--r-- | src/Screen.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Screen.hh b/src/Screen.hh index c16bd077..06548d41 100644 --- a/src/Screen.hh +++ b/src/Screen.hh @@ -131,6 +131,9 @@ private: unsigned long event_mask; Rect usableArea; +#ifdef XINERAMA + RectList xineramaUsableArea; +#endif // XINERAMA typedef std::list<Strut*> StrutList; StrutList strutList; @@ -306,7 +309,10 @@ public: BlackboxWindow *getIcon(unsigned int index); + // allAvailableAreas should be used whenever possible instead of this function + // as then Xinerama will work correctly. const Rect& availableArea(void) const; + RectList allAvailableAreas(void) const; void updateAvailableArea(void); void addStrut(Strut *strut); void removeStrut(Strut *strut); |
