aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbWinFrame.hh')
-rw-r--r--src/FbWinFrame.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbWinFrame.hh b/src/FbWinFrame.hh
index 6858579..fc64900 100644
--- a/src/FbWinFrame.hh
+++ b/src/FbWinFrame.hh
@@ -233,7 +233,8 @@ public:
233 inline bool isShaded() const { return m_shaded; } 233 inline bool isShaded() const { return m_shaded; }
234 inline FbWinFrameTheme &theme() const { return m_theme; } 234 inline FbWinFrameTheme &theme() const { return m_theme; }
235 /// @return titlebar height 235 /// @return titlebar height
236 unsigned int titlebarHeight() const { return m_titlebar.height(); } 236 unsigned int titlebarHeight() const { return (m_use_titlebar?m_titlebar.height()+m_window.borderWidth():0); }
237 unsigned int handleHeight() const { return (m_use_handle?m_handle.height()+m_window.borderWidth():0); }
237 /// @return size of button 238 /// @return size of button
238 unsigned int buttonHeight() const; 239 unsigned int buttonHeight() const;
239 bool externalTabMode() const { return m_tabmode == EXTERNAL && m_use_tabs; } 240 bool externalTabMode() const { return m_tabmode == EXTERNAL && m_use_tabs; }