BScreen *screen;
BlackboxWindow *lastfocus;
Clientmenu *clientmenu;
+ XAtom *xatom;
BlackboxWindowList stackingList, windowList;
void placeWindow(BlackboxWindow *win);
bool cascadePlacement(Rect& win, const Rect& availableArea);
bool smartPlacement(Rect& win, const Rect& availableArea);
+ bool underMousePlacement(Rect& win, const Rect& availableArea);
public:
Workspace(BScreen *scrn, unsigned int i = 0);
void addWindow(BlackboxWindow *w, bool place = False);
unsigned int removeWindow(BlackboxWindow *w);
unsigned int getCount(void) const;
+ void appendStackOrder(BlackboxWindowList &stack_order) const;
void showAll(void);
void hideAll(void);