]> Dogcows Code - chaz/openbox/blobdiff - src/Screen.hh
acquire and provide Xinerama information for the window manager. now we just gotta...
[chaz/openbox] / src / Screen.hh
index c16bd0773cc826830705282f7efd9d8b6af19fe8..06548d415aa0351d82ebbcbaa66954e20de2c0bb 100644 (file)
@@ -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);
This page took 0.019729 seconds and 4 git commands to generate.