diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.rs | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/src/window.rs b/src/window.rs index 47e6fd4..c5a4b09 100644 --- a/src/window.rs +++ b/src/window.rs @@ -98,9 +98,8 @@ impl Window {          let pixel_scale = self.controller.pixel_scale().get();          if let Some(dimensions) = self.controller.exact_size() { -            // Without this early return, the constant re-setting of the window -            // size prevents the window from being able to be positioned with the -            // bottom edge below the screen bounds. +            // Prevent the window properties from being modified every frame +            // and interrupting the actions of the window manager.              if pixel_scale == self.pixel_scale              && dimensions * pixel_scale == self.surface_dimensions {                  return; | 
