aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-07-04 13:20:04 (GMT)
committersimonb <simonb>2006-07-04 13:20:04 (GMT)
commitc3846743fba060716b9090d3684fb273464ab2ae (patch)
tree65b1b5a1c1b28f12f09030ff07aedd759da8c737 /src/FbWinFrame.cc
parentaa589f3bdc2044571a7181ebac3f2a3e8156aa11 (diff)
downloadfluxbox-c3846743fba060716b9090d3684fb273464ab2ae.zip
fluxbox-c3846743fba060716b9090d3684fb273464ab2ae.tar.bz2
fix some sizing issues with gravity fixes
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r--src/FbWinFrame.cc4
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
244void FbWinFrame::moveResizeForClient(int x, int y, unsigned int width, unsigned int height, bool move, bool resize, int win_gravity, unsigned int client_bw) { 244void 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
255void FbWinFrame::resizeForClient(unsigned int width, unsigned int height, int win_gravity, unsigned int client_bw) { 255void 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
259void FbWinFrame::moveResize(int x, int y, unsigned int width, unsigned int height, bool move, bool resize) { 259void FbWinFrame::moveResize(int x, int y, unsigned int width, unsigned int height, bool move, bool resize) {