summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-05-10 12:29:27 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-05-10 12:30:14 -0400
commit6c268571906c799bcad59537721f82b32ab780be (patch)
treec999d26e25a393b15ececdaba4ea608ac2cb2bcf /data
parentbcb72b536789f2428689b225b8a00b3ef45f472d (diff)
theme: add clip for disabling focus effects on some windows
ref T3408
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/comp.edc17
1 files changed, 16 insertions, 1 deletions
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";
278 visible: 0; 278 visible: 0;
279 } 279 }
280 } 280 }
281 rect { "focus_clip"; clip: "clipper";
282 desc {
283 rel1.offset: -9999 -9999;
284 rel2.offset: 9999 9999;
285 }
286 desc { "hid"; hid; }
287 }
281 part { name: "glow"; mouse_events: 0; 288 part { name: "glow"; mouse_events: 0;
282 clip_to: "clipper"; 289 clip_to: "focus_clip";
283 description { state: "default" 0.0; 290 description { state: "default" 0.0;
284 image.normal: "win_glow.png"; 291 image.normal: "win_glow.png";
285 image.border: 9 9 9 9; 292 image.border: 9 9 9 9;
@@ -415,6 +422,14 @@ group { name: "e/comp/frame/default";
415 transition: SINUSOIDAL 0.6 CURRENT; 422 transition: SINUSOIDAL 0.6 CURRENT;
416 target: "glow"; 423 target: "glow";
417 } 424 }
425 program { signal: "e,state,focus,disabled"; source: "e";
426 action: STATE_SET "hid";
427 target: "focus_clip";
428 }
429 program { signal: "e,state,focus,enabled"; source: "e";
430 action: STATE_SET "default";
431 target: "focus_clip";
432 }
418 } 433 }
419} 434}
420 435