diff options
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 5a9a301..d3b3d2f 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -1766,6 +1766,12 @@ void FbWinFrame::gravityTranslate(int &x, int &y, | |||
1766 | } | 1766 | } |
1767 | } | 1767 | } |
1768 | 1768 | ||
1769 | unsigned int FbWinFrame::normalHeight() const { | ||
1770 | if (m_shaded) | ||
1771 | return m_height_before_shade; | ||
1772 | return height(); | ||
1773 | } | ||
1774 | |||
1769 | int FbWinFrame::widthOffset() const { | 1775 | int FbWinFrame::widthOffset() const { |
1770 | if (m_tabmode != EXTERNAL || !m_use_tabs) | 1776 | if (m_tabmode != EXTERNAL || !m_use_tabs) |
1771 | return 0; | 1777 | return 0; |