summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-09-19 09:53:35 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-09-19 09:54:21 -0400
commit9313121e79a520269c189057a596cc4229b72701 (patch)
treec8fc076c55abda27b989f033352d27ccad6fff5d
parent8c354cf36fcf7383b29855a658f63d1d9cb9d7f0 (diff)
downloadenlightenment-9313121e79a520269c189057a596cc4229b72701.tar.gz
clamp bryces to a lower canvas layer
note to self: if you remember why you had these at POPUP, annotate the reason here...
-rw-r--r--src/bin/e_bryce.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c
index 090fd1c339..aa406a3715 100644
--- a/src/bin/e_bryce.c
+++ b/src/bin/e_bryce.c
@@ -1,6 +1,6 @@
#include "e.h"
-#define DEFAULT_LAYER E_LAYER_POPUP
+#define DEFAULT_LAYER E_LAYER_CLIENT_ABOVE
#define E_BRYCE_TYPE 0xE31338
typedef struct Bryce
@@ -1171,6 +1171,7 @@ e_bryce_init(void)
EINA_LIST_FOREACH(bryces->bryces, l, b)
{
if (!e_comp_zone_number_get(b->zone)) continue;
+ b->layer = E_CLAMP(b->layer, E_LAYER_DESKTOP, E_LAYER_CLIENT_ABOVE);
_bryce_create(b, e_comp->elm);
evas_object_show(b->bryce);
}