mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1606776 [Wayland] Commit opaque region change to mShell wl_surface r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D58597 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
db8cf153cd
commit
ebc6009b2b
@ -4844,6 +4844,7 @@ void nsWindow::UpdateTopLevelOpaqueRegionWayland(bool aSubtractCorners) {
|
||||
SubtractTitlebarCorners(region, x, y, width);
|
||||
}
|
||||
wl_surface_set_opaque_region(surface, region);
|
||||
wl_surface_commit(surface);
|
||||
wl_region_destroy(region);
|
||||
|
||||
// Set region to mozcontainer which does not have any offset
|
||||
|
Loading…
Reference in New Issue
Block a user