forked from enlightenment/enlightenment
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>
This commit is contained in:
parent
c48e7d21ce
commit
c32f155fb0
|
@ -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;
|
||||
|
@ -555,6 +558,16 @@ group { name: "e/conf/randr/main/frame";
|
|||
action: STATE_SET "on" 0.0;
|
||||
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";
|
||||
|
|
Loading…
Reference in New Issue