aboutsummaryrefslogtreecommitdiff
path: root/src/Window.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/Window.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/Window.hh')
-rw-r--r--src/Window.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.hh b/src/Window.hh
index da126ec..c04676a 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -502,7 +502,7 @@ private:
502 void attachWorkAreaSig(); 502 void attachWorkAreaSig();
503 503
504 // modifies left and top if snap is necessary 504 // modifies left and top if snap is necessary
505 void doSnapping(int &left, int &top); 505 void doSnapping(int &left, int &top, bool resize = false);
506 // user_w/h return the values that should be shown to the user 506 // user_w/h return the values that should be shown to the user
507 void fixSize(); 507 void fixSize();
508 void moveResizeClient(WinClient &client); 508 void moveResizeClient(WinClient &client);