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 <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2016-07-27 08:24:27 -04:00
parent 961a1ada0f
commit 585b1db623
1 changed files with 2 additions and 0 deletions

View File

@ -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;