summaryrefslogtreecommitdiff
path: root/src/FbWinFrame.hh
diff options
context:
space:
mode:
authorsimonb <simonb>2006-06-26 11:45:14 (GMT)
committersimonb <simonb>2006-06-26 11:45:14 (GMT)
commit6e60c53ae7fbffa034da952e061f5a81d0f082be (patch)
treef0214f76a373136fb90734e7e9484c1268f3bc4a /src/FbWinFrame.hh
parentee02bc2258595060a4b1ee0bcab5a76c6a9a5af2 (diff)
downloadfluxbox_lack-6e60c53ae7fbffa034da952e061f5a81d0f082be.zip
fluxbox_lack-6e60c53ae7fbffa034da952e061f5a81d0f082be.tar.bz2
fix _NET_FRAME_EXTENTS
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; }