From 585b1db623603c31ce5c236b7b31b8fe670e87ea Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Wed, 27 Jul 2016 08:24:27 -0400 Subject: [PATCH] elementary: Add call to set opaque_region for case of borderless and alpha If we have a borderless alpha window, then make call to set opaque region accordingly. This still avoids calling opaque_region_set twice, yet maintains opaque region for the above mentioned case. Signed-off-by: Chris Michael --- src/lib/elementary/efl_ui_win.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index bffaadcd9b..be5de246a2 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -1308,6 +1308,8 @@ _elm_win_opaque_update(Efl_Ui_Win_Data *sd) ecore_evas_geometry_get(sd->ee, NULL, NULL, &ow, &oh); if (!alpha) ecore_wl2_window_opaque_region_set(sd->wl.win, 0, 0, ow, oh); + else + ecore_wl2_window_opaque_region_set(sd->wl.win, 0, 0, 0, 0); wdata->content.x = wdata->content.y = 0; wdata->content.w = ow; wdata->content.h = oh;