forked from enlightenment/efl
theme: add clip for disabling focus effects on some windows
ref T3408
This commit is contained in:
parent
bcb72b5367
commit
6c26857190
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue