forked from enlightenment/enlightenment
disable mouse events in border client swallow/clip parts
fixes behavior when clicking through shaped windows
This commit is contained in:
parent
4da2c68fec
commit
ff577e094b
|
@ -22,13 +22,13 @@ group { name: "e/widgets/border/default/border";
|
|||
images.image: "screen_circular_shadow.png" COMP;
|
||||
data.item: "shadow" "1";
|
||||
parts {
|
||||
part { name: "client_clip"; type: RECT;
|
||||
part { name: "client_clip"; type: RECT; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_y: "e.swallow.client";
|
||||
rel2.to_y: "e.swallow.client";
|
||||
}
|
||||
}
|
||||
part { name: "e.swallow.client"; type: SWALLOW;
|
||||
part { name: "e.swallow.client"; type: SWALLOW; mouse_events: 0;
|
||||
clip_to: "client_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
|
@ -947,7 +947,7 @@ group { name: "e/widgets/border/dialog/border";
|
|||
group { name: "e/widgets/border/noresize/border";
|
||||
inherit: "e/widgets/border/default/border";
|
||||
parts {
|
||||
part { name: "e.swallow.client"; type: SWALLOW;
|
||||
part { name: "e.swallow.client"; type: SWALLOW; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
|
@ -1036,14 +1036,14 @@ group { name: "e/widgets/border/noresize_dialog/border";
|
|||
|
||||
group { name: "e/widgets/border/pixel/border";
|
||||
parts {
|
||||
part { name: "client_clip"; type: RECT;
|
||||
part { name: "client_clip"; type: RECT; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_y: "e.swallow.client";
|
||||
rel2.to_y: "e.swallow.client";
|
||||
}
|
||||
}
|
||||
part { name: "e.swallow.client"; type: SWALLOW;
|
||||
clip_to: "client_clip";
|
||||
part { name: "e.swallow.client"; type: SWALLOW; mouse_events: 0;
|
||||
clip_to: "client_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
|
|
Loading…
Reference in New Issue