diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-11-30 10:51:51 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-11-30 15:15:02 +0900 |
commit | 2102ed9b7c7dbcda7f67379f42ed9dc97dfbff9f (patch) | |
tree | 6cdd7a9fdda6ba5cd2b9d3cdaaa752eb03beee91 | |
parent | 7cce8ae40d7b9d607448135f0384605395537c32 (diff) | |
download | efl-2102ed9b7c7dbcda7f67379f42ed9dc97dfbff9f.tar.gz |
win: Fix opaque regions for Wayland
In Wayland, an opaque window can still have shadow borders, and
only needs to set the opaque_region appropriately. In X on the
other hand, a window needs to be flagged as alpha in order to be
properly blended (otherwise you'd get black borders).
Thanks Derek for the report!
This fixes c91360fcbd3ca
-rw-r--r-- | src/lib/elementary/efl_ui_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index 8571c810f0..724d3bba30 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -414,10 +414,10 @@ _elm_win_apply_alpha(Eo *obj, Efl_Ui_Win_Data *sd) } else { - enabled |= (sd->csd.need && !sd->fullscreen); #ifdef HAVE_ELEMENTARY_X if (sd->x.xwin) { + enabled |= (sd->csd.need && !sd->fullscreen); if (enabled) { if (!ecore_x_screen_is_composited(0)) |