fix compliling with --disable-slit
This commit is contained in:
parent
a85c9a7c6e
commit
d03852ad25
2 changed files with 3 additions and 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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue