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
643e13bf
Commit
643e13bf
authored
Jun 09, 2018
by
Pavel Vainerman
Committed by
Mike Gabriel
Aug 22, 2018
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix window title encoding (use utf8) for nxagent
parent
489c1731
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Screen.c
nx-X11/programs/Xserver/hw/nxagent/Screen.c
+8
-2
No files found.
nx-X11/programs/Xserver/hw/nxagent/Screen.c
View file @
643e13bf
...
@@ -441,8 +441,8 @@ Window nxagentCreateIconWindow(void)
...
@@ -441,8 +441,8 @@ Window nxagentCreateIconWindow(void)
}
}
}
}
XSetWMProperties
(
nxagentDisplay
,
w
,
X
utf8
SetWMProperties
(
nxagentDisplay
,
w
,
&
windowName
,
&
windowN
ame
,
window_name
,
window_n
ame
,
NULL
,
0
,
sizeHints
,
wmHints
,
NULL
);
NULL
,
0
,
sizeHints
,
wmHints
,
NULL
);
if
(
sizeHints
)
if
(
sizeHints
)
...
@@ -867,6 +867,9 @@ Bool nxagentOpenScreen(ScreenPtr pScreen,
...
@@ -867,6 +867,9 @@ Bool nxagentOpenScreen(ScreenPtr pScreen,
int
defaultVisualIndex
=
0
;
int
defaultVisualIndex
=
0
;
XTextProperty
xtpWmName
;
char
*
wmName
=
nxagentWindowName
;
#ifdef TEST
#ifdef TEST
fprintf
(
stderr
,
"nxagentOpenScreen: Called for screen index [%d].
\n
"
,
fprintf
(
stderr
,
"nxagentOpenScreen: Called for screen index [%d].
\n
"
,
pScreen
->
myNum
);
pScreen
->
myNum
);
...
@@ -1910,6 +1913,9 @@ N/A
...
@@ -1910,6 +1913,9 @@ N/A
nxagentIconPixmap
,
nxagentIconPixmap
,
argv
,
argc
,
sizeHints
);
argv
,
argc
,
sizeHints
);
if
(
Xutf8TextListToTextProperty
(
nxagentDisplay
,
&
wmName
,
1
,
XCompoundTextStyle
,
&
xtpWmName
)
>=
Success
)
XSetWMName
(
nxagentDisplay
,
nxagentDefaultWindows
[
pScreen
->
myNum
],
&
xtpWmName
);
if
(
sizeHints
)
if
(
sizeHints
)
XFree
(
sizeHints
);
XFree
(
sizeHints
);
...
...
dimbor
@dimbor
mentioned in commit
8482abd3
·
Nov 14, 2019
mentioned in commit
8482abd3
mentioned in commit 8482abd31304b4555cabf135c3a41a961cba7845
Toggle commit list
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