diff options
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Screen.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c index 6eae711f5..b7a8f5404 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c @@ -441,8 +441,8 @@ Window nxagentCreateIconWindow(void) } } - XSetWMProperties(nxagentDisplay, w, - &windowName, &windowName, + Xutf8SetWMProperties(nxagentDisplay, w, + window_name, window_name, NULL , 0 , sizeHints, wmHints, NULL); if (sizeHints) @@ -1902,13 +1902,12 @@ N/A if (nxagentUserGeometry.flag & WidthValue || nxagentUserGeometry.flag & HeightValue) sizeHints->flags |= USSize; } - /* FIXME: deprecated, replaced by XSetWmProperties() */ - XSetStandardProperties(nxagentDisplay, - nxagentDefaultWindows[pScreen->myNum], - nxagentWindowName, - nxagentWindowName, - nxagentIconPixmap, - argv, argc, sizeHints); + + Xutf8SetWMProperties(nxagentDisplay, + nxagentDefaultWindows[pScreen->myNum], + nxagentWindowName, + nxagentWindowName, + argv , argc , &sizeHints, &wmHints, NULL); if (sizeHints) XFree(sizeHints); |