diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-05-23 15:00:15 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-05-23 15:00:15 +0000 |
| commit | d03852ad25b4d43e1420d9aced516507fa572800 (patch) | |
| tree | 9e575ee6f0f55e33a0c68b0f941938ca194f9f46 | |
| parent | a85c9a7c6e88d94a833941d3efc368cf11243579 (diff) | |
fix compliling with --disable-slit
| -rw-r--r-- | CHANGELOG | 2 | ||||
| -rw-r--r-- | src/Screen.cc | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,8 @@ Changelog for Openbox: 2.0.0: + * fix compliling with --disable-slit. (Ben Jansens) + * fixed sticky windows behavior. (Ben Jansens) * make reconfigure reset the timeout values for diff --git a/src/Screen.cc b/src/Screen.cc index 08b76971..2225e2ce 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -653,7 +653,7 @@ Rect BScreen::availableArea() const { space.setH(space.h() - tbarh); } #else // !SLIT - int tbarh = resource.hide_toolbar() ? 0 : + int tbarh = resource.hide_toolbar ? 0 : toolbar->getExposedHeight() + resource.border_width * 2; switch (toolbar->placement()) { case Toolbar::TopLeft: |
