X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FScreen.h;h=124d4f98635501e60d89aca4f674638b285f1f27;hb=22f8550d4508773fdcd97cfd96ce708550eef9d8;hp=8acae7ee0b7d4e0947af7541da3a15e07b3e1269;hpb=9cd9d92bb1d66db9329bf5cd6e42e8b0096945e6;p=chaz%2Fopenbox diff --git a/src/Screen.h b/src/Screen.h index 8acae7ee..124d4f98 100644 --- a/src/Screen.h +++ b/src/Screen.h @@ -187,6 +187,8 @@ public: inline Toolbar *getToolbar() { return toolbar; } + Rect availableArea() const; + inline Workspace *getWorkspace(int w) { return workspacesList->find(w); } inline Workspace *getCurrentWorkspace() { return current_workspace; } @@ -219,7 +221,7 @@ public: void setAutoRaise(bool a); inline bool imageDither() const { return resource.image_dither; } - void setImageDither(bool d); + void setImageDither(bool d, bool reconfig = true); inline bool orderedDither() const { return resource.ordered_dither; } @@ -310,7 +312,8 @@ public: void updateNetizenWindowLower(Window); enum { RowSmartPlacement = 1, ColSmartPlacement, CascadePlacement, - BestFitPlacement, LeftRight, RightLeft, TopBottom, BottomTop }; + BestFitPlacement, UnderMousePlacement, ClickMousePlacement, + LeftRight, RightLeft, TopBottom, BottomTop }; enum { LeftJustify = 1, RightJustify, CenterJustify }; enum { RoundBullet = 1, TriangleBullet, SquareBullet, NoBullet }; enum { Restart = 1, RestartOther, Exit, Shutdown, Execute, Reconfigure,