From: Mike Blumenkrantz Date: Tue, 10 May 2016 16:29:27 +0000 (-0400) Subject: theme: add clip for disabling focus effects on some windows X-Git-Tag: upstream/1.20.0~6407 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c268571906c799bcad59537721f82b32ab780be;p=platform%2Fupstream%2Fefl.git theme: add clip for disabling focus effects on some windows ref T3408 --- diff --git a/data/elementary/themes/edc/comp.edc b/data/elementary/themes/edc/comp.edc index a9facdc..80fc826 100644 --- a/data/elementary/themes/edc/comp.edc +++ b/data/elementary/themes/edc/comp.edc @@ -278,8 +278,15 @@ group { name: "e/comp/frame/default"; visible: 0; } } + rect { "focus_clip"; clip: "clipper"; + desc { + rel1.offset: -9999 -9999; + rel2.offset: 9999 9999; + } + desc { "hid"; hid; } + } part { name: "glow"; mouse_events: 0; - clip_to: "clipper"; + clip_to: "focus_clip"; description { state: "default" 0.0; image.normal: "win_glow.png"; image.border: 9 9 9 9; @@ -415,6 +422,14 @@ group { name: "e/comp/frame/default"; transition: SINUSOIDAL 0.6 CURRENT; target: "glow"; } + program { signal: "e,state,focus,disabled"; source: "e"; + action: STATE_SET "hid"; + target: "focus_clip"; + } + program { signal: "e,state,focus,enabled"; source: "e"; + action: STATE_SET "default"; + target: "focus_clip"; + } } }