summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-11-24 11:28:05 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-11-24 17:05:27 +0900
commit246023d1b324cebe4d5bd0057b62951de785839e (patch)
tree8323c222ad67df3c3e34aa2d2b3e77138adfbd2b /data
parent4584fe572166b4a70e1c23222ac0bfb96bc20933 (diff)
win: Fix (hack around) E internal windows in Wayland
My previous patches have broken E Wayland internal windows, as the compositor wants to create Server-Side Decorations[1] but based on some mysterious heuristics, E will decide to show or not SSD. It seems the surface geometry, window geometry, input region and maybe opaque region need to all match. There was a pixel difference in the theme which broke everything, also CSD shadows must be turned off in that case. This also fixes inputs as for some reason a mismatching input region vs window geometry would break pointer move/up/down in those internal windows. [1] I believe this is not a great idea and E should never draw any server-side decorations in Wayland. Wayland was supposed to mean only CSD, no more SSD.
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/elm/border.edc4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/elementary/themes/edc/elm/border.edc b/data/elementary/themes/edc/elm/border.edc
index 5b2b6bc..ad1cfec 100644
--- a/data/elementary/themes/edc/elm/border.edc
+++ b/data/elementary/themes/edc/elm/border.edc
@@ -34,8 +34,8 @@ group { name: "elm/border/base/default";
34 /* opaque region of the window, to inform the compositor */ 34 /* opaque region of the window, to inform the compositor */
35 spacer { "elm.spacer.opaque"; 35 spacer { "elm.spacer.opaque";
36 desc { 36 desc {
37 rel1.to: "top_clip"; 37 rel1.offset: 0 0;
38 rel2.to: "bottom_clip"; 38 rel2.offset: -1 -1;
39 } 39 }
40 desc { "max"; inherit: "default"; } 40 desc { "max"; inherit: "default"; }
41 } 41 }