Andrew Talbot : winex11.drv: Write-strings warning fix.
Module: wine Branch: refs/heads/master Commit: 55e20a7482bc1aee592c39189e1c815973a3992e URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=55e20a7482bc1aee592c3918... Author: Andrew Talbot <Andrew.Talbot(a)talbotville.com> Date: Mon Jun 26 20:56:16 2006 +0100 winex11.drv: Write-strings warning fix. --- dlls/winex11.drv/window.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index b47e474..6d7c595 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -411,8 +411,10 @@ void X11DRV_set_wm_hints( Display *displ /* class hints */ if ((class_hints = XAllocClassHint())) { + static char wine[] = "Wine"; + class_hints->res_name = process_name; - class_hints->res_class = "Wine"; + class_hints->res_class = wine; XSetClassHint( display, data->whole_window, class_hints ); XFree( class_hints ); }
participants (1)
-
Alexandre Julliard