diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-14 18:06:28 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-14 18:06:28 (GMT) |
commit | 9f519ec0fcb7cd0dec61a4c31d246800f9a73cb3 (patch) | |
tree | 4e3f181c4a14c185f934b29455ff0cfaa2636982 /src/FbWinFrame.cc | |
parent | de8275f68860f8088c582f0e02494b5a46c871d5 (diff) | |
download | fluxbox-9f519ec0fcb7cd0dec61a4c31d246800f9a73cb3.zip fluxbox-9f519ec0fcb7cd0dec61a4c31d246800f9a73cb3.tar.bz2 |
some minor code cleaning.
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 5b91218..fc35ae1 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -1717,3 +1717,10 @@ void FbWinFrame::displaySize(unsigned int width, unsigned int height) const { | |||
1717 | width, height - titlebarHeight() - handleHeight()); | 1717 | width, height - titlebarHeight() - handleHeight()); |
1718 | m_screen.showGeometry(i, j); | 1718 | m_screen.showGeometry(i, j); |
1719 | } | 1719 | } |
1720 | |||
1721 | bool FbWinFrame::insideTitlebar(Window win) const { | ||
1722 | return | ||
1723 | gripLeft().window() != win && | ||
1724 | gripRight().window() != win && | ||
1725 | window().window() != win; | ||
1726 | } | ||