discomfitor pushed a commit to branch enlightenment-0.19. http://git.enlightenment.org/core/enlightenment.git/commit/?id=6be7068674658dc878d48af3dce90d4499068d40
commit 6be7068674658dc878d48af3dce90d4499068d40 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Sat Sep 26 12:03:52 2015 -0400 set x11 broadcast atom hint array size based on array-name size partial backport of ref 701e2d914afee481d66d0dd0bc3bf0cba5b408d9 fix T2744 --- src/bin/e_hints.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_hints.c b/src/bin/e_hints.c index 04d7153..3684cca 100644 --- a/src/bin/e_hints.c +++ b/src/bin/e_hints.c @@ -31,7 +31,7 @@ e_hints_init(Ecore_Window root, Ecore_Window propwin) "ENLIGHTENMENT_SCALE", "_GTK_FRAME_EXTENTS", }; - Ecore_X_Atom atoms[6]; + Ecore_X_Atom atoms[EINA_C_ARRAY_LENGTH(atom_names)]; Ecore_X_Atom supported[43]; int supported_num; Ecore_X_Window win, twin; @@ -39,7 +39,7 @@ e_hints_init(Ecore_Window root, Ecore_Window propwin) char *name; double ts; - ecore_x_atoms_get(atom_names, 6, atoms); + ecore_x_atoms_get(atom_names, EINA_C_ARRAY_LENGTH(atom_names), atoms); ATM__QTOPIA_SOFT_MENU = atoms[0]; ATM__QTOPIA_SOFT_MENUS = atoms[1]; ATM_GNOME_SM_PROXY = atoms[2]; --