Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
9a7c0b08
Commit
9a7c0b08
authored
Jul 26, 2018
by
Pavel Vainerman
Committed by
Mike Gabriel
Aug 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nxagent: Used 'Xutf8SetVMPropertis' instead of 'XSetStandardProperties' + 'Xutf8SetWMProperties'
parent
643e13bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
13 deletions
+6
-13
Screen.c
nx-X11/programs/Xserver/hw/nxagent/Screen.c
+6
-13
No files found.
nx-X11/programs/Xserver/hw/nxagent/Screen.c
View file @
9a7c0b08
...
...
@@ -867,9 +867,6 @@ Bool nxagentOpenScreen(ScreenPtr pScreen,
int
defaultVisualIndex
=
0
;
XTextProperty
xtpWmName
;
char
*
wmName
=
nxagentWindowName
;
#ifdef TEST
fprintf
(
stderr
,
"nxagentOpenScreen: Called for screen index [%d].
\n
"
,
pScreen
->
myNum
);
...
...
@@ -1905,16 +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
);
if
(
Xutf8TextListToTextProperty
(
nxagentDisplay
,
&
wmName
,
1
,
XCompoundTextStyle
,
&
xtpWmName
)
>=
Success
)
XSetWMName
(
nxagentDisplay
,
nxagentDefaultWindows
[
pScreen
->
myNum
],
&
xtpWmName
);
Xutf8SetWMProperties
(
nxagentDisplay
,
nxagentDefaultWindows
[
pScreen
->
myNum
],
nxagentWindowName
,
nxagentWindowName
,
argv
,
argc
,
&
sizeHints
,
&
wmHints
,
NULL
);
if
(
sizeHints
)
XFree
(
sizeHints
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment