Fix CM bug with InputOnly windows.

SVN revision: 18177
This commit is contained in:
Kim Woelders 2005-10-31 22:35:00 +00:00
parent c5ca7a68ae
commit e9e3f077f3
1 changed files with 5 additions and 3 deletions

View File

@ -253,12 +253,14 @@ EobjRegister(Window win, int type)
if (!eo)
return eo;
EobjInit(eo, type, win, attr.x, attr.y, attr.width, attr.height, 0, NULL);
eo->name = ecore_x_icccm_title_get(win);
eo->external = 1;
if (attr.class == InputOnly)
eo->inputonly = 1;
EobjInit(eo, type, win, attr.x, attr.y, attr.width, attr.height, 0, NULL);
eo->name = ecore_x_icccm_title_get(win);
eo->external = 1;
#if 1 /* FIXME - TBD */
if (type == EOBJ_TYPE_EXT)
{