From 4b67b791713c8373bb58188315c830b907ffe329 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 12 Jul 2016 09:43:19 -0400 Subject: [PATCH] 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 --- data/elementary/themes/edc/elm/win.edc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/data/elementary/themes/edc/elm/win.edc b/data/elementary/themes/edc/elm/win.edc index 343de6c6e2..292ff2421a 100644 --- a/data/elementary/themes/edc/elm/win.edc +++ b/data/elementary/themes/edc/elm/win.edc @@ -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";