forked from enlightenment/efl
elementary: Clip window swallow clients
This commit sets up a client_clip for the windows client being swallowed so that during resize, any window contents do not draw outside the window. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
cd1f2539fd
commit
4b67b79171
|
@ -20,7 +20,14 @@ group { name: "elm/win/base/default";
|
|||
fixed: 0 1;
|
||||
}
|
||||
}
|
||||
part { name: "client_clip"; type: RECT; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_y: "elm.swallow.contents";
|
||||
rel2.to_y: "elm.swallow.contents";
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.contents"; type: SWALLOW;
|
||||
clip_to: "client_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1 {
|
||||
to_y: "elm.swallow.menu";
|
||||
|
|
Loading…
Reference in New Issue