Skip to content

Commit

Permalink
Bug 1606776 [Wayland] Commit opaque region change to mShell wl_surfac…
Browse files Browse the repository at this point in the history
…e r=jhorak

Differential Revision: https://phabricator.services.mozilla.com/D58597
  • Loading branch information
stransky committed Jan 3, 2020
1 parent e49749c commit efb5e1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions widget/gtk/nsWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efb5e1a

Please sign in to comment.