diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2010-04-30 07:03:57 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2010-04-30 07:03:57 (GMT) |
commit | 583398e491a498a127833846e74c53cdc81918e2 (patch) | |
tree | 3b154e63d509d08b307947e563cef8e5c46acc55 /src | |
parent | fd43058365eacb6e0dd5634b622bbbabbd1972eb (diff) | |
download | fluxbox_pavel-583398e491a498a127833846e74c53cdc81918e2.zip fluxbox_pavel-583398e491a498a127833846e74c53cdc81918e2.tar.bz2 |
bugfix: using 'int' on 64bit systems while setting window properties is wrong
using a smaller type ('long' on 64bit is 8 byte, 'int' is 4) results in
strange properties, eg:
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_HORZ, undefined atom # 0x2726130
(when xpropping a maximized xterm). this might cause misbehavior in apps.
Diffstat (limited to 'src')
-rw-r--r-- | src/Ewmh.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc index eadea4b..3a47132 100644 --- a/src/Ewmh.cc +++ b/src/Ewmh.cc | |||
@@ -980,7 +980,7 @@ void Ewmh::updateState(FluxboxWindow &win) { | |||
980 | 980 | ||
981 | updateActions(win); | 981 | updateActions(win); |
982 | 982 | ||
983 | typedef vector<unsigned int> StateVec; | 983 | typedef vector<Atom> StateVec; |
984 | 984 | ||
985 | StateVec state; | 985 | StateVec state; |
986 | 986 | ||