diff options
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc index 6fe6b83..9a3665e 100644 --- a/src/Ewmh.cc +++ b/src/Ewmh.cc | |||
@@ -859,11 +859,11 @@ bool Ewmh::checkClientMessage(const XClientMessageEvent &ce, | |||
859 | if (!screen) | 859 | if (!screen) |
860 | return true; | 860 | return true; |
861 | FbWinFrameTheme &theme = screen->winFrameTheme(); | 861 | FbWinFrameTheme &theme = screen->winFrameTheme(); |
862 | int title_h = theme.titleHeight() || | 862 | long title_h = theme.titleHeight() || |
863 | theme.font().height() + 2*theme.bevelWidth() + 2; | 863 | theme.font().height() + 2*theme.bevelWidth() + 2; |
864 | title_h += theme.border().width(); | 864 | title_h += theme.border().width(); |
865 | int handle_h = theme.handleWidth() + theme.border().width(); | 865 | long handle_h = theme.handleWidth() + theme.border().width(); |
866 | int extents[4]; | 866 | long extents[4]; |
867 | // our frames currently don't protrude from left/right | 867 | // our frames currently don't protrude from left/right |
868 | extents[0] = 0; | 868 | extents[0] = 0; |
869 | extents[1] = 0; | 869 | extents[1] = 0; |
@@ -1271,7 +1271,7 @@ void Ewmh::updateFrameExtents(FluxboxWindow &win) { | |||
1271 | protrudes from the client window, on left, right, top, bottom | 1271 | protrudes from the client window, on left, right, top, bottom |
1272 | (it is independent of window position). | 1272 | (it is independent of window position). |
1273 | */ | 1273 | */ |
1274 | int extents[4]; | 1274 | long extents[4]; |
1275 | // our frames currently don't protrude from left/right | 1275 | // our frames currently don't protrude from left/right |
1276 | extents[0] = 0; | 1276 | extents[0] = 0; |
1277 | extents[1] = 0; | 1277 | extents[1] = 0; |