diff options
author | simonb <simonb> | 2006-12-31 14:10:55 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-12-31 14:10:55 (GMT) |
commit | b3a94f59d8bb301fa38a65317da7bb81733de933 (patch) | |
tree | 037c03b07937d20c89345a93bdbbd6afc46f45db /src/Ewmh.cc | |
parent | 7a9fcd66fd09f138485accb12f0bd71c81efd959 (diff) | |
download | fluxbox-b3a94f59d8bb301fa38a65317da7bb81733de933.zip fluxbox-b3a94f59d8bb301fa38a65317da7bb81733de933.tar.bz2 |
Fix _NET_FRAME_EXTENTS on 64-bit systems
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; |