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);
void raiseWindow(BlackboxWindow *w);
void lowerWindow(BlackboxWindow *w);
void reconfigure(void);
- void updateFocusModel(void);
void setCurrent(void);
void setName(const std::string& new_name);
};