From: Zhiyi Zhang zzhang@codeweavers.com
--- dlls/winex11.drv/desktop.c | 4 ++-- dlls/winex11.drv/window.c | 2 +- dlls/winex11.drv/x11drv.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/winex11.drv/desktop.c b/dlls/winex11.drv/desktop.c index dae0d652737..da9edfecaa8 100644 --- a/dlls/winex11.drv/desktop.c +++ b/dlls/winex11.drv/desktop.c @@ -51,7 +51,7 @@ BOOL is_virtual_desktop(void) * * Setup the desktop when not using the root window. */ -void X11DRV_init_desktop( Window win, unsigned int width, unsigned int height ) +void X11DRV_init_desktop( Window win ) { host_primary_rect = get_host_primary_monitor_rect(); root_window = win; @@ -90,7 +90,7 @@ BOOL X11DRV_CreateDesktop( const WCHAR *name, UINT width, UINT height ) x11drv_xinput2_enable( display, win ); XFlush( display );
- X11DRV_init_desktop( win, width, height ); + X11DRV_init_desktop( win ); return TRUE; }
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 0e06939f67d..f1a609d4cd5 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -1948,7 +1948,7 @@ void X11DRV_SetDesktopWindow( HWND hwnd ) else { Window win = (Window)NtUserGetProp( hwnd, whole_window_prop ); - if (win && win != root_window) X11DRV_init_desktop( win, width, height ); + if (win && win != root_window) X11DRV_init_desktop( win ); } }
diff --git a/dlls/winex11.drv/x11drv.h b/dlls/winex11.drv/x11drv.h index 9c47a7462ba..6a157befeae 100644 --- a/dlls/winex11.drv/x11drv.h +++ b/dlls/winex11.drv/x11drv.h @@ -740,7 +740,7 @@ struct x11drv_settings_handler
extern void X11DRV_Settings_SetHandler(const struct x11drv_settings_handler *handler);
-extern void X11DRV_init_desktop( Window win, unsigned int width, unsigned int height ); +extern void X11DRV_init_desktop( Window win ); extern BOOL is_virtual_desktop(void); extern BOOL is_desktop_fullscreen(void); extern BOOL is_detached_mode(const DEVMODEW *);