X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FWorkspace.hh;h=0059e293fdcd4c46d59b7e94a2b5f0dbda7be1dd;hb=32c13697524e01a21e5b667188cad73434693ecb;hp=652e8cef574af6bbb5b38456b08a34f3abde7c22;hpb=8794d357e67abddf9fda9db77b235e294d0ec590;p=chaz%2Fopenbox diff --git a/src/Workspace.hh b/src/Workspace.hh index 652e8cef..0059e293 100644 --- a/src/Workspace.hh +++ b/src/Workspace.hh @@ -46,6 +46,7 @@ private: BScreen *screen; BlackboxWindow *lastfocus; Clientmenu *clientmenu; + XAtom *xatom; BlackboxWindowList stackingList, windowList; @@ -64,6 +65,7 @@ private: 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); @@ -92,6 +94,7 @@ public: 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); @@ -99,7 +102,6 @@ public: void raiseWindow(BlackboxWindow *w); void lowerWindow(BlackboxWindow *w); void reconfigure(void); - void updateFocusModel(void); void setCurrent(void); void setName(const std::string& new_name); };