From 583398e491a498a127833846e74c53cdc81918e2 Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Fri, 30 Apr 2010 09:03:57 +0200 Subject: 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. --- src/Ewmh.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { updateActions(win); - typedef vector StateVec; + typedef vector StateVec; StateVec state; -- cgit v0.11.2