diff --git a/src/flutter/shell/platform/linux_embedded/window/elinux_window.h b/src/flutter/shell/platform/linux_embedded/window/elinux_window.h index e9b6bf66..4ea87a3a 100644 --- a/src/flutter/shell/platform/linux_embedded/window/elinux_window.h +++ b/src/flutter/shell/platform/linux_embedded/window/elinux_window.h @@ -22,12 +22,12 @@ class ELinuxWindow { // Get current window width in physical pixels. uint32_t GetCurrentWidth() const { - return view_properties_.width * current_scale_; + return view_properties_.width; } // Get current window height in physical pixels. uint32_t GetCurrentHeight() const { - return view_properties_.height * current_scale_; + return view_properties_.height; } void SetRotation(FlutterDesktopViewRotation rotation) {