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:
parent
fd43058365
commit
583398e491
1 changed files with 1 additions and 1 deletions
|
@ -980,7 +980,7 @@ void Ewmh::updateState(FluxboxWindow &win) {
|
|||
|
||||
updateActions(win);
|
||||
|
||||
typedef vector<unsigned int> StateVec;
|
||||
typedef vector<Atom> StateVec;
|
||||
|
||||
StateVec state;
|
||||
|
||||
|
|
Loading…
Reference in a new issue