Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_x Modified Files: ecore_x_netwm.c Log Message: netwm type stupports an array of types. we dont handle it. bad. for now take only the most important one (first) and note this issue. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_x/ecore_x_netwm.c,v retrieving revision 1.59 retrieving revision 1.60 diff -u -3 -r1.59 -r1.60 --- ecore_x_netwm.c 25 Jul 2007 17:00:55 -0000 1.59 +++ ecore_x_netwm.c 6 Mar 2008 10:19:21 -0000 1.60 @@ -1017,12 +1017,19 @@ if (type) { + *type = _ecore_x_netwm_window_type_type_get(atoms[0]); + if (num > 1) + { + // FIXME: mor than 1? what to do? + } +/* disable - preferred type is the first - others are hints for (i = 0; i < num; ++i) { *type = _ecore_x_netwm_window_type_type_get(atoms[i]); if (*type != ECORE_X_WINDOW_TYPE_UNKNOWN) break; } + */ } free(atoms); ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs