aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.hh
diff options
context:
space:
mode:
authorNephiel <nephiel@nephiel.net>2015-09-17 15:25:40 (GMT)
committerMathias Gumz <akira@fluxbox.org>2016-01-04 20:17:26 (GMT)
commit1f1d43bdbf675ff24e80e3e6bac157171eba7ca1 (patch)
treece6a5e71ddf9098e7d0161d94ce430244753da7c /src/Screen.hh
parent3e4570becc66f868c14bef8b97edcca2d4b135bc (diff)
downloadfluxbox-1f1d43bdbf675ff24e80e3e6bac157171eba7ca1.zip
fluxbox-1f1d43bdbf675ff24e80e3e6bac157171eba7ca1.tar.bz2
Add Resize Snap
Make windows snap to edges when resizing them, as well as when moving. From http://darkshed.net/files/patches/fluxbox/fluxbox-resize-snap-try2.diff
Diffstat (limited to 'src/Screen.hh')
-rw-r--r--src/Screen.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index 983aa81..1aeac91 100644
--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -232,6 +232,8 @@ public:
232 232
233 int getEdgeSnapThreshold() const { return *resource.edge_snap_threshold; } 233 int getEdgeSnapThreshold() const { return *resource.edge_snap_threshold; }
234 234
235 int getEdgeResizeSnapThreshold() const { return *resource.edge_resize_snap_threshold; }
236
235 void setRootColormapInstalled(bool r) { root_colormap_installed = r; } 237 void setRootColormapInstalled(bool r) { root_colormap_installed = r; }
236 238
237 void saveTabPlacement(FbWinFrame::TabPlacement place) { *resource.tab_placement = place; } 239 void saveTabPlacement(FbWinFrame::TabPlacement place) { *resource.tab_placement = place; }