diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-06-07 00:24:02 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-06-07 00:24:02 +0000 |
| commit | e90fafd2fd907a81bdc60ad8b6de35fc1595cdff (patch) | |
| tree | 38e3e6394d5aab654ad283e2d7351000c57263af /src/Screen.hh | |
| parent | aad50046de0b1971f869ee95a0f80267c74a1fd3 (diff) | |
fix off-by-ones in window-to-window snapping. move the property from the blackbox class to the screen class.
Diffstat (limited to 'src/Screen.hh')
| -rw-r--r-- | src/Screen.hh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Screen.hh b/src/Screen.hh index c044200c..44199b34 100644 --- a/src/Screen.hh +++ b/src/Screen.hh @@ -152,8 +152,8 @@ private: MenuStyle mstyle; bool sloppy_focus, auto_raise, auto_edge_balance, ordered_dither, - opaque_move, full_max, focus_new, focus_last, click_raise, - hide_toolbar; + opaque_move, full_max, focus_new, focus_last, click_raise, + hide_toolbar, window_to_window_snap, window_corner_snap; BColor border_color; unsigned int workspaces; @@ -216,6 +216,10 @@ public: inline bool doFocusNew(void) const { return resource.focus_new; } inline bool doFocusLast(void) const { return resource.focus_last; } inline bool doHideToolbar(void) const { return resource.hide_toolbar; } + inline bool getWindowToWindowSnap(void) const + { return resource.window_to_window_snap; } + inline bool getWindowCornerSnap(void) const + { return resource.window_corner_snap; } inline const GC &getOpGC(void) const { return opGC; } @@ -273,6 +277,8 @@ public: void saveFocusNew(bool f); void saveFocusLast(bool f); void saveHideToolbar(bool h); + void saveWindowToWindowSnap(bool s); + void saveWindowCornerSnap(bool s); inline void iconUpdate(void) { iconmenu->update(); } #ifdef HAVE_STRFTIME |
