fix systray to work with argb shelf windows

SVN revision: 42329
This commit is contained in:
Hannes Janetzek 2009-09-07 16:41:22 +00:00
parent 58925e0232
commit 2108d059ef
1 changed files with 2 additions and 1 deletions

View File

@ -480,7 +480,8 @@ _systray_base_create(Instance *inst)
evas_object_geometry_get(o, &x, &y, &w, &h);
if (w < 1) w = 1;
if (h < 1) h = 1;
inst->win.base = ecore_x_window_new(inst->win.parent, x, y, w, h);
inst->win.base = ecore_x_window_new(0, 0, 0, w, h);
ecore_x_window_reparent(inst->win.base, inst->win.parent, x, y);
ecore_x_window_background_color_set(inst->win.base, r, g, b);
ecore_x_window_show(inst->win.base);
return 1;