From 2102ed9b7c7dbcda7f67379f42ed9dc97dfbff9f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Wed, 30 Nov 2016 10:51:51 +0900 Subject: [PATCH] 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 --- src/lib/elementary/efl_ui_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))