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.
This commit is contained in:
Mathias Gumz 2010-04-30 09:03:57 +02:00
parent fd43058365
commit 583398e491

View file

@ -980,7 +980,7 @@ void Ewmh::updateState(FluxboxWindow &win) {
updateActions(win);
typedef vector<unsigned int> StateVec;
typedef vector<Atom> StateVec;
StateVec state;