diff options
author | rathnor <rathnor> | 2003-05-19 15:39:06 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-05-19 15:39:06 (GMT) |
commit | 52a71aa781c861ee0d604a546630ce5a57ec1ad4 (patch) | |
tree | 2104d804c684795df26f97c9e4bb95ff07335d8d | |
parent | b68b1c7623be09100bb1e6a0d3923d6e1c86a91a (diff) | |
download | fluxbox_pavel-52a71aa781c861ee0d604a546630ce5a57ec1ad4.zip fluxbox_pavel-52a71aa781c861ee0d604a546630ce5a57ec1ad4.tar.bz2 |
correct some maximise numbers
-rw-r--r-- | src/Window.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Window.cc b/src/Window.cc index 46c8e63..488a37b 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Window.cc,v 1.180 2003/05/19 15:32:47 rathnor Exp $ | 25 | // $Id: Window.cc,v 1.181 2003/05/19 15:39:06 rathnor Exp $ |
26 | 26 | ||
27 | #include "Window.hh" | 27 | #include "Window.hh" |
28 | 28 | ||
@@ -1404,7 +1404,7 @@ void FluxboxWindow::maximizeHorizontal() { | |||
1404 | unsigned int left_x = screen().maxLeft(frame().window()); | 1404 | unsigned int left_x = screen().maxLeft(frame().window()); |
1405 | unsigned int max_width = screen().maxRight(frame().window()); | 1405 | unsigned int max_width = screen().maxRight(frame().window()); |
1406 | moveResize(left_x, frame().y(), | 1406 | moveResize(left_x, frame().y(), |
1407 | max_width - left_x, frame().height() - frame().window().borderWidth()); | 1407 | max_width - left_x - 2*frame().window().borderWidth(), frame().height()); |
1408 | 1408 | ||
1409 | } | 1409 | } |
1410 | 1410 | ||
@@ -1414,8 +1414,8 @@ void FluxboxWindow::maximizeHorizontal() { | |||
1414 | void FluxboxWindow::maximizeVertical() { | 1414 | void FluxboxWindow::maximizeVertical() { |
1415 | unsigned int max_top = screen().maxTop(frame().window()); | 1415 | unsigned int max_top = screen().maxTop(frame().window()); |
1416 | moveResize(frame().x(), max_top, | 1416 | moveResize(frame().x(), max_top, |
1417 | frame().width() - frame().window().borderWidth(), | 1417 | frame().width(), |
1418 | screen().maxBottom(frame().window()) - max_top); | 1418 | screen().maxBottom(frame().window()) - max_top - 2*frame().window().borderWidth()); |
1419 | } | 1419 | } |
1420 | 1420 | ||
1421 | 1421 | ||