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.
Mathias Gumz akira at fluxbox dot org
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/Ewmh.cc
→
src/Ewmh.cc
@@ -980,7 +980,7 @@
updateActions(win); - typedef vector<unsigned int> StateVec; + typedef vector<Atom> StateVec; StateVec state;