aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpekdon <pekdon>2002-02-02 18:20:44 (GMT)
committerpekdon <pekdon>2002-02-02 18:20:44 (GMT)
commit39d4112a5e7300a8de70d09af777f8060082837a (patch)
tree18bf97d63274de2d9447d565acfbe300219dace1 /src
parent0cfe1502f43b0d99e382866f9e49d4e6c6fa814a (diff)
downloadfluxbox_paul-39d4112a5e7300a8de70d09af777f8060082837a.zip
fluxbox_paul-39d4112a5e7300a8de70d09af777f8060082837a.tar.bz2
When you fix things they shouldn't break
Diffstat (limited to 'src')
-rw-r--r--src/Tab.cc20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/Tab.cc b/src/Tab.cc
index fb529d8..b6f002b 100644
--- a/src/Tab.cc
+++ b/src/Tab.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Tab.cc,v 1.18 2002/01/27 12:52:02 fluxgen Exp $ 22// $Id: Tab.cc,v 1.19 2002/02/02 18:20:44 pekdon Exp $
23 23
24#include "Tab.hh" 24#include "Tab.hh"
25 25
@@ -488,15 +488,21 @@ void Tab::setPosition() {
488 m_win->getScreen()->getTabAlignment()); 488 m_win->getScreen()->getTabAlignment());
489 break; 489 break;
490 case PLEFT: 490 case PLEFT:
491 pos_x = m_win->getXFrame() - m_size_w; 491 pos_x = m_win->isShaded() ?
492 pos_y = setPositionLRAlignHelper( 492 setPositionTBAlignHelper(m_win->getScreen()->getTabAlignment()) :
493 m_win->getScreen()->getTabAlignment()); 493 m_win->getXFrame() - m_size_w;
494 pos_y = m_win->isShaded() ?
495 setPositionShadingHelper(true) :
496 setPositionLRAlignHelper(m_win->getScreen()->getTabAlignment());
494 break; 497 break;
495 case PRIGHT: 498 case PRIGHT:
496 pos_x = m_win->getXFrame() + m_win->getWidth() + 499 pos_x = m_win->isShaded() ?
500 setPositionTBAlignHelper(m_win->getScreen()->getTabAlignment()) :
501 m_win->getXFrame() + m_win->getWidth() +
497 m_win->getScreen()->getBorderWidth2x(); 502 m_win->getScreen()->getBorderWidth2x();
498 pos_y = setPositionLRAlignHelper( 503 pos_y = m_win->isShaded() ?
499 m_win->getScreen()->getTabAlignment()); 504 setPositionShadingHelper(true) :
505 setPositionLRAlignHelper(m_win->getScreen()->getTabAlignment());
500 break; 506 break;
501 default: 507 default:
502 if(m_win->isShaded()) { 508 if(m_win->isShaded()) {