forked from mirrors/gecko-dev
Bug 1899494 [Wayland] Always resize wl_egl_window on scale change r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D212101
This commit is contained in:
parent
4410f432fc
commit
48399d3d5a
1 changed files with 1 additions and 1 deletions
|
|
@ -721,7 +721,7 @@ struct wl_egl_window* moz_container_wayland_get_egl_window(
|
|||
nsIntSize recentSize;
|
||||
wl_egl_window_get_attached_size(wl_container->eglwindow, &recentSize.width,
|
||||
&recentSize.height);
|
||||
if (requestedSize != recentSize) {
|
||||
if (requestedSize != recentSize || wl_container->buffer_scale != scale) {
|
||||
LOGCONTAINER("%s [%p] resized to %d x %d (with scale %f)\n", __FUNCTION__,
|
||||
(void*)moz_container_get_nsWindow(container),
|
||||
requestedSize.width, requestedSize.height, scale);
|
||||
|
|
|
|||
Loading…
Reference in a new issue