summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-05-23 15:00:15 +0000
committerDana Jansens <danakj@orodu.net>2002-05-23 15:00:15 +0000
commitd03852ad25b4d43e1420d9aced516507fa572800 (patch)
tree9e575ee6f0f55e33a0c68b0f941938ca194f9f46
parenta85c9a7c6e88d94a833941d3efc368cf11243579 (diff)
fix compliling with --disable-slit
-rw-r--r--CHANGELOG2
-rw-r--r--src/Screen.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 4581419d..27089ebb 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -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: