projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aab3c5d
)
don't worry abou overlapping the toolbar if there is none.
author
Dana Jansens
<danakj@orodu.net>
Thu, 25 Jul 2002 22:35:55 +0000
(22:35 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 25 Jul 2002 22:35:55 +0000
(22:35 +0000)
src/Slit.cc
patch
|
blob
|
history
diff --git
a/src/Slit.cc
b/src/Slit.cc
index
35a2dbf
..
5a6c322
100644
(file)
--- a/
src/Slit.cc
+++ b/
src/Slit.cc
@@
-551,7
+551,7
@@
void Slit::reposition(void) {
slit_rect.setSize(slit_rect.width() + (screen->getBorderWidth() * 2),
slit_rect.height() + (screen->getBorderWidth() * 2));
- if (slit_rect.intersects(tbar_rect)) {
+ if (
! screen->doHideToolbar() &&
slit_rect.intersects(tbar_rect)) {
int delta = screen->getToolbar()->getExposedHeight() +
screen->getBorderWidth();
if (frame.rect.bottom() <= tbar_rect.bottom())