summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-08-02 11:06:02 +0100
committerDeon Thomas <PrinceAMD.Elive@gmail.com>2013-08-02 10:44:38 -0400
commitaae26dbf64724020869f07a010385d810752f830 (patch)
tree15bb87fe45fb5e396a33b483594d9b21f387178c
parent9566fe746ecbc53be54ddc32fadec982dfde6fa9 (diff)
downloadenlightenment-aae26dbf64724020869f07a010385d810752f830.tar.gz
Backport: c32f155 :: Add a disabled state to the indicator event rectangle
NB: This is so that the indicator mouse events can be disabled, thus not allowing Silly people to turn off their Only single monitor. Signed-off-by: Chris Michael <cp.michael@samsung.com> Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
-rw-r--r--data/themes/edc/randr.edc15
1 files changed, 14 insertions, 1 deletions
diff --git a/data/themes/edc/randr.edc b/data/themes/edc/randr.edc
index 0232daa306..5e2a2f53fd 100644
--- a/data/themes/edc/randr.edc
+++ b/data/themes/edc/randr.edc
@@ -426,9 +426,12 @@ group { name: "e/conf/randr/main/frame";
description { state: "default" 0.0;
color: 0 0 0 0;
max: 15 15;
-// max: 21 21;
align: 0.0 1.0;
}
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
}
part { name: "e.event.resize"; type: RECT;
description { state: "default" 0.0;
@@ -556,6 +559,16 @@ group { name: "e/conf/randr/main/frame";
target: "primary";
}
program {
+ signal: "e,state,indicator,enabled"; source: "e";
+ action: STATE_SET "default" 0.0;
+ target: "e.event.indicator";
+ }
+ program {
+ signal: "e,state,indicator,disabled"; source: "e";
+ action: STATE_SET "disabled" 0.0;
+ target: "e.event.indicator";
+ }
+ program {
signal: "mouse,in"; source: "e.event.resize";
action: SIGNAL_EMIT "e,action,resize,in" "e";
}