diff options
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) { |