diff options
author | simonb <simonb> | 2006-07-04 13:20:04 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-07-04 13:20:04 (GMT) |
commit | c3846743fba060716b9090d3684fb273464ab2ae (patch) | |
tree | 65b1b5a1c1b28f12f09030ff07aedd759da8c737 /src/FbWinFrame.cc | |
parent | aa589f3bdc2044571a7181ebac3f2a3e8156aa11 (diff) | |
download | fluxbox_pavel-c3846743fba060716b9090d3684fb273464ab2ae.zip fluxbox_pavel-c3846743fba060716b9090d3684fb273464ab2ae.tar.bz2 |
fix some sizing issues with gravity fixes
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 339c53e..0bf084f 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -241,7 +241,7 @@ void FbWinFrame::resize(unsigned int width, unsigned int height) { | |||
241 | } | 241 | } |
242 | 242 | ||
243 | // need an atomic moveresize where possible | 243 | // need an atomic moveresize where possible |
244 | void FbWinFrame::moveResizeForClient(int x, int y, unsigned int width, unsigned int height, bool move, bool resize, int win_gravity, unsigned int client_bw) { | 244 | void FbWinFrame::moveResizeForClient(int x, int y, unsigned int width, unsigned int height, int win_gravity, unsigned int client_bw, bool move, bool resize) { |
245 | // total height for frame | 245 | // total height for frame |
246 | 246 | ||
247 | if (resize) // these fns check if the elements are "on" | 247 | if (resize) // these fns check if the elements are "on" |
@@ -253,7 +253,7 @@ void FbWinFrame::moveResizeForClient(int x, int y, unsigned int width, unsigned | |||
253 | } | 253 | } |
254 | 254 | ||
255 | void FbWinFrame::resizeForClient(unsigned int width, unsigned int height, int win_gravity, unsigned int client_bw) { | 255 | void FbWinFrame::resizeForClient(unsigned int width, unsigned int height, int win_gravity, unsigned int client_bw) { |
256 | moveResizeForClient(0, 0, width, height, false, true, win_gravity, client_bw); | 256 | moveResizeForClient(0, 0, width, height, win_gravity, client_bw, false, true); |
257 | } | 257 | } |
258 | 258 | ||
259 | void FbWinFrame::moveResize(int x, int y, unsigned int width, unsigned int height, bool move, bool resize) { | 259 | void FbWinFrame::moveResize(int x, int y, unsigned int width, unsigned int height, bool move, bool resize) { |