forked from enlightenment/efl
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:
parent
961a1ada0f
commit
585b1db623
|
@ -1308,6 +1308,8 @@ _elm_win_opaque_update(Efl_Ui_Win_Data *sd)
|
||||||
ecore_evas_geometry_get(sd->ee, NULL, NULL, &ow, &oh);
|
ecore_evas_geometry_get(sd->ee, NULL, NULL, &ow, &oh);
|
||||||
if (!alpha)
|
if (!alpha)
|
||||||
ecore_wl2_window_opaque_region_set(sd->wl.win, 0, 0, ow, oh);
|
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.x = wdata->content.y = 0;
|
||||||
wdata->content.w = ow;
|
wdata->content.w = ow;
|
||||||
wdata->content.h = oh;
|
wdata->content.h = oh;
|
||||||
|
|
Loading…
Reference in New Issue