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:
Christopher Michael 2012-12-17 09:20:25 +00:00 committed by Christopher Michael
parent 551b576a4b
commit 403e0ed2df
1 changed files with 29 additions and 12 deletions

View File

@ -22,6 +22,11 @@ group { name: "e/conf/randr/main/monitor";
action: STATE_SET "cloned" 0.0;
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";
}
}
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;
clip_to: "clone_clip";
description { state: "default" 0.0;
@ -204,6 +198,10 @@ group { name: "e/conf/randr/main/frame";
rel2.to: "base";
FIXED_SIZE(69, 5)
}
description { state: "cloned" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "rsz1"; mouse_events: 0;
description { state: "default" 0.0;
@ -510,8 +508,8 @@ group { name: "e/conf/randr/main/frame";
program {
signal: "e,state,cloned"; source: "e";
action: STATE_SET "cloned" 0.0;
target: "clone_bg";
target: "clone_clip";
target: "scr_shine";
target: "e.text.name";
target: "e.text.resolution";
target: "rsz1";
@ -525,6 +523,25 @@ group { name: "e/conf/randr/main/frame";
target: "e.event.resize";
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 {
signal: "e,state,drop,on"; source: "e";
action: STATE_SET "active" 0.0;