Fix window size

This commit is contained in:
Andrea Cavalli 2021-09-12 14:53:22 +02:00
parent 70fac2be13
commit 917a175474
1 changed files with 2 additions and 2 deletions

View File

@ -694,7 +694,7 @@ xwl_resize_window(WindowPtr window,
xwl_window = xwl_window_from_window(window);
screen->ResizeWindow = xwl_screen->ResizeWindow;
(*screen->ResizeWindow) (window, x, y, width * xwl_screen->global_output_scale, height * xwl_screen->global_output_scale, sib);
(*screen->ResizeWindow) (window, x, y, width, height, sib);
xwl_screen->ResizeWindow = screen->ResizeWindow;
screen->ResizeWindow = xwl_resize_window;