Commit 9409fd44 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Vitaly Lipatov

winex11.drv: Always use primary monitor resolution as the desktop size. (eterbug #15194).

parent 19587414
...@@ -330,8 +330,8 @@ void X11DRV_init_desktop( Window win, unsigned int width, unsigned int height ) ...@@ -330,8 +330,8 @@ void X11DRV_init_desktop( Window win, unsigned int width, unsigned int height )
root_window = win; root_window = win;
managed_mode = FALSE; /* no managed windows in desktop mode */ managed_mode = FALSE; /* no managed windows in desktop mode */
desktop_width = width; desktop_width = primary_rect.right - primary_rect.left;
desktop_height = height; desktop_height = primary_rect.bottom - primary_rect.top;
max_width = primary_rect.right; max_width = primary_rect.right;
max_height = primary_rect.bottom; max_height = primary_rect.bottom;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment