fix compliling with --disable-slit

This commit is contained in:
Dana Jansens 2002-05-23 15:00:15 +00:00
parent a85c9a7c6e
commit d03852ad25
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,8 @@
Changelog for Openbox: Changelog for Openbox:
2.0.0: 2.0.0:
* fix compliling with --disable-slit. (Ben Jansens)
* fixed sticky windows behavior. (Ben Jansens) * fixed sticky windows behavior. (Ben Jansens)
* make reconfigure reset the timeout values for * make reconfigure reset the timeout values for

View file

@ -653,7 +653,7 @@ Rect BScreen::availableArea() const {
space.setH(space.h() - tbarh); space.setH(space.h() - tbarh);
} }
#else // !SLIT #else // !SLIT
int tbarh = resource.hide_toolbar() ? 0 : int tbarh = resource.hide_toolbar ? 0 :
toolbar->getExposedHeight() + resource.border_width * 2; toolbar->getExposedHeight() + resource.border_width * 2;
switch (toolbar->placement()) { switch (toolbar->placement()) {
case Toolbar::TopLeft: case Toolbar::TopLeft: