diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-08-02 18:37:31 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-08-02 18:37:31 +0000 |
| commit | b1a2c014eba9ad4b09b2a577f9cee24315034f3a (patch) | |
| tree | 23a609b51d04d3f788b88e721f3968ca99b5635a /src/Screen.hh | |
| parent | 628a4ff368c09a10a2eb738bac804b9a3025ed64 (diff) | |
snapping/resistance is optional for window and edge snapping
Diffstat (limited to 'src/Screen.hh')
| -rw-r--r-- | src/Screen.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Screen.hh b/src/Screen.hh index 2fbf20fd..0a2586e3 100644 --- a/src/Screen.hh +++ b/src/Screen.hh @@ -188,6 +188,7 @@ private: void updateWorkArea(void); public: + enum { WindowNoSnap = 0, WindowSnap, WindowResistance }; enum { RowSmartPlacement = 1, ColSmartPlacement, CascadePlacement, UnderMousePlacement, ClickMousePlacement, LeftRight, RightLeft, TopBottom, BottomTop, IgnoreShaded, IgnoreMaximized }; @@ -196,7 +197,7 @@ public: WindowShade, WindowIconify, WindowMaximize, WindowClose, WindowRaise, WindowLower, WindowStick, WindowKill, SetStyle }; enum FocusModel { SloppyFocus, ClickToFocus }; - enum RootScrollDirection { NoScroll, NormalScroll, ReverseScroll }; + enum RootScrollDirection { NoScroll = 0, NormalScroll, ReverseScroll }; BScreen(Blackbox *bb, unsigned int scrn); ~BScreen(void); |
