summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2013-12-10 11:18:49 -0500
committerMike Blumenkrantz <zmike@samsung.com>2013-12-10 11:18:49 -0500
commitbbaa7a76b78190bd9080526556311be763a7297e (patch)
tree58caab51da3dd60488da1f203ea63af91041ecb0 /src
parent09c3cd4ba9a7721af08c11dfb564957bbc1f8c84 (diff)
set systray icon layer based on gadcon container layer
Diffstat (limited to 'src')
-rw-r--r--src/modules/systray/e_mod_xembed.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/modules/systray/e_mod_xembed.c b/src/modules/systray/e_mod_xembed.c
index d9d677f60..ff7a20c24 100644
--- a/src/modules/systray/e_mod_xembed.c
+++ b/src/modules/systray/e_mod_xembed.c
@@ -419,7 +419,22 @@ _systray_xembed_base_create(Instance_Xembed *xembed)
419 if (!invis) 419 if (!invis)
420 ecore_x_window_background_color_set(xembed->win.base, r, g, b); 420 ecore_x_window_background_color_set(xembed->win.base, r, g, b);
421 ecore_x_window_show(xembed->win.base); 421 ecore_x_window_show(xembed->win.base);
422 e_container_window_raise(xembed->inst->con, xembed->win.base, E_LAYER_ABOVE); 422 if (xembed->inst->gcc->gadcon->shelf)
423 {
424 E_Shelf *es = xembed->inst->gcc->gadcon->shelf;
425
426 if (es->popup)
427 {
428 if (es->layer)
429 e_container_window_raise(xembed->inst->con, xembed->win.base, E_LAYER_ABOVE);
430 else
431 e_container_window_raise(xembed->inst->con, xembed->win.base, E_LAYER_BELOW);
432 }
433 else
434 e_container_window_raise(xembed->inst->con, xembed->win.base, E_LAYER_DESKTOP);
435 }
436 else
437 e_container_window_raise(xembed->inst->con, xembed->win.base, E_LAYER_DESKTOP);
423 return EINA_TRUE; 438 return EINA_TRUE;
424} 439}
425 440