forked from enlightenment/enlightenment
Add a program to catch "uncloned" state so we can return the monitor
back to it's starting form. Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 81097
This commit is contained in:
parent
551b576a4b
commit
403e0ed2df
|
@ -22,6 +22,11 @@ group { name: "e/conf/randr/main/monitor";
|
||||||
action: STATE_SET "cloned" 0.0;
|
action: STATE_SET "cloned" 0.0;
|
||||||
target: "e.swallow.stand";
|
target: "e.swallow.stand";
|
||||||
}
|
}
|
||||||
|
program {
|
||||||
|
signal: "e,state,uncloned"; source: "e";
|
||||||
|
action: STATE_SET "default" 0.0;
|
||||||
|
target: "e.swallow.stand";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,17 +78,6 @@ group { name: "e/conf/randr/main/frame";
|
||||||
rel2.to: "e.swallow.preview";
|
rel2.to: "e.swallow.preview";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "clone_bg"; type: RECT; mouse_events: 0;
|
|
||||||
description { state: "default" 0.0;
|
|
||||||
color: 0 0 0 64;
|
|
||||||
rel1.to: "e.box.clone";
|
|
||||||
rel2.to: "e.box.clone";
|
|
||||||
}
|
|
||||||
description { state: "cloned" 0.0;
|
|
||||||
inherit: "default" 0.0;
|
|
||||||
visible: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
part { name: "e.box.clone"; type: BOX;
|
part { name: "e.box.clone"; type: BOX;
|
||||||
clip_to: "clone_clip";
|
clip_to: "clone_clip";
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
@ -204,6 +198,10 @@ group { name: "e/conf/randr/main/frame";
|
||||||
rel2.to: "base";
|
rel2.to: "base";
|
||||||
FIXED_SIZE(69, 5)
|
FIXED_SIZE(69, 5)
|
||||||
}
|
}
|
||||||
|
description { state: "cloned" 0.0;
|
||||||
|
inherit: "default" 0.0;
|
||||||
|
visible: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
part { name: "rsz1"; mouse_events: 0;
|
part { name: "rsz1"; mouse_events: 0;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
@ -510,8 +508,8 @@ group { name: "e/conf/randr/main/frame";
|
||||||
program {
|
program {
|
||||||
signal: "e,state,cloned"; source: "e";
|
signal: "e,state,cloned"; source: "e";
|
||||||
action: STATE_SET "cloned" 0.0;
|
action: STATE_SET "cloned" 0.0;
|
||||||
target: "clone_bg";
|
|
||||||
target: "clone_clip";
|
target: "clone_clip";
|
||||||
|
target: "scr_shine";
|
||||||
target: "e.text.name";
|
target: "e.text.name";
|
||||||
target: "e.text.resolution";
|
target: "e.text.resolution";
|
||||||
target: "rsz1";
|
target: "rsz1";
|
||||||
|
@ -525,6 +523,25 @@ group { name: "e/conf/randr/main/frame";
|
||||||
target: "e.event.resize";
|
target: "e.event.resize";
|
||||||
target: "e.event.indicator";
|
target: "e.event.indicator";
|
||||||
}
|
}
|
||||||
|
program {
|
||||||
|
signal: "e,state,uncloned"; source: "e";
|
||||||
|
action: STATE_SET "default" 0.0;
|
||||||
|
target: "clone_clip";
|
||||||
|
target: "scr_shine";
|
||||||
|
target: "e.text.name";
|
||||||
|
target: "e.text.resolution";
|
||||||
|
target: "rsz1";
|
||||||
|
target: "rsz2";
|
||||||
|
target: "rot1";
|
||||||
|
target: "rot2";
|
||||||
|
target: "arrow1";
|
||||||
|
target: "arrow2";
|
||||||
|
target: "e.event.arrow.show";
|
||||||
|
target: "e.event.rotate";
|
||||||
|
target: "e.event.resize";
|
||||||
|
target: "e.event.indicator";
|
||||||
|
after: "rrpulse1";
|
||||||
|
}
|
||||||
program {
|
program {
|
||||||
signal: "e,state,drop,on"; source: "e";
|
signal: "e,state,drop,on"; source: "e";
|
||||||
action: STATE_SET "active" 0.0;
|
action: STATE_SET "active" 0.0;
|
||||||
|
|
Loading…
Reference in New Issue