Mercurial > sdl-ios-xcode
annotate docs/html/reference.html @ 1558:b46bb79cc197
Fixed bug #113:
Date: Sat, 16 Apr 2005 08:39:22 +1000
From: "Eric Mangold"
Subject: [SDL] Window manager does not show SDL window titles
Hello,
I have an issue with SDL-using applications and the sawfish window manager.
The problem is that SDL windows do not show the window caption. My gnome
panel *does* show the window name, but the actual sawfish window frame
shows no caption at all. All other non-SDL applications that I use work
fine.
I tried a couple other window managers, and they *were* able to show the
SDL window captions correctly. Though there many be other WMs that can't.
I believe the problem is that SDL is using the UTF8_STRING type for the
window's WM_NAME and WM_ICON properties. In fact, WM_NAME and WM_ICON are
supposed to set to a TEXT type, usually STRING (ISO 8859-1).
The property names _NET_WM_NAME and _NET_WM_ICON_NAME should be used to
store the UTF8_STRING versions of the window title and icon name.
You can see the properties I refer to with a command like this:
xprop|grep -e "WM.*NAME"
Please note the freedesktop.org standard:
http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#id2506954
This page talks a little bit about the history of these properties. Just
search down the page for "WM_NAME".
http://www.cl.cam.ac.uk/~mgk25/unicode.html
Please let me know if I can be of any assistance in resolving this issue.
Thanks,
Eric Mangold
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 20 Mar 2006 07:31:36 +0000 |
parents | 355632dca928 |
children |
rev | line source |
---|---|
0 | 1 <HTML |
2 ><HEAD | |
3 ><TITLE | |
4 >SDL Reference</TITLE | |
5 ><META | |
6 NAME="GENERATOR" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ |
0 | 8 "><LINK |
9 REL="HOME" | |
10 TITLE="SDL Library Documentation" | |
11 HREF="index.html"><LINK | |
12 REL="PREVIOUS" | |
13 TITLE="Time Examples" | |
14 HREF="guidetimeexamples.html"><LINK | |
15 REL="NEXT" | |
16 TITLE="General" | |
17 HREF="general.html"></HEAD | |
18 ><BODY | |
19 CLASS="PART" | |
20 BGCOLOR="#FFF8DC" | |
21 TEXT="#000000" | |
22 LINK="#0000ee" | |
23 VLINK="#551a8b" | |
24 ALINK="#ff0000" | |
25 ><DIV | |
26 CLASS="NAVHEADER" | |
27 ><TABLE | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
28 SUMMARY="Header navigation table" |
0 | 29 WIDTH="100%" |
30 BORDER="0" | |
31 CELLPADDING="0" | |
32 CELLSPACING="0" | |
33 ><TR | |
34 ><TH | |
35 COLSPAN="3" | |
36 ALIGN="center" | |
37 >SDL Library Documentation</TH | |
38 ></TR | |
39 ><TR | |
40 ><TD | |
41 WIDTH="10%" | |
42 ALIGN="left" | |
43 VALIGN="bottom" | |
44 ><A | |
45 HREF="guidetimeexamples.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
46 ACCESSKEY="P" |
0 | 47 >Prev</A |
48 ></TD | |
49 ><TD | |
50 WIDTH="80%" | |
51 ALIGN="center" | |
52 VALIGN="bottom" | |
53 ></TD | |
54 ><TD | |
55 WIDTH="10%" | |
56 ALIGN="right" | |
57 VALIGN="bottom" | |
58 ><A | |
59 HREF="general.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
60 ACCESSKEY="N" |
0 | 61 >Next</A |
62 ></TD | |
63 ></TR | |
64 ></TABLE | |
65 ><HR | |
66 ALIGN="LEFT" | |
67 WIDTH="100%"></DIV | |
68 ><DIV | |
69 CLASS="PART" | |
70 ><A | |
71 NAME="REFERENCE" | |
72 ></A | |
73 ><DIV | |
74 CLASS="TITLEPAGE" | |
75 ><H1 | |
76 CLASS="TITLE" | |
77 >II. SDL Reference</H1 | |
78 ><DIV | |
79 CLASS="TOC" | |
80 ><DL | |
81 ><DT | |
82 ><B | |
83 >Table of Contents</B | |
84 ></DT | |
85 ><DT | |
86 >5. <A | |
87 HREF="general.html" | |
88 >General</A | |
89 ></DT | |
90 ><DT | |
91 >6. <A | |
92 HREF="video.html" | |
93 >Video</A | |
94 ></DT | |
95 ><DT | |
96 >7. <A | |
97 HREF="wm.html" | |
98 >Window Management</A | |
99 ></DT | |
100 ><DT | |
101 >8. <A | |
102 HREF="event.html" | |
103 >Events</A | |
104 ></DT | |
105 ><DT | |
106 >9. <A | |
107 HREF="joystick.html" | |
108 >Joystick</A | |
109 ></DT | |
110 ><DT | |
111 >10. <A | |
112 HREF="audio.html" | |
113 >Audio</A | |
114 ></DT | |
115 ><DT | |
116 >11. <A | |
117 HREF="cdrom.html" | |
118 >CD-ROM</A | |
119 ></DT | |
120 ><DT | |
121 >12. <A | |
122 HREF="thread.html" | |
123 >Multi-threaded Programming</A | |
124 ></DT | |
125 ><DT | |
126 >13. <A | |
127 HREF="time.html" | |
128 >Time</A | |
129 ></DT | |
130 ></DL | |
131 ></DIV | |
132 ></DIV | |
133 ></DIV | |
134 ><DIV | |
135 CLASS="NAVFOOTER" | |
136 ><HR | |
137 ALIGN="LEFT" | |
138 WIDTH="100%"><TABLE | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
139 SUMMARY="Footer navigation table" |
0 | 140 WIDTH="100%" |
141 BORDER="0" | |
142 CELLPADDING="0" | |
143 CELLSPACING="0" | |
144 ><TR | |
145 ><TD | |
146 WIDTH="33%" | |
147 ALIGN="left" | |
148 VALIGN="top" | |
149 ><A | |
150 HREF="guidetimeexamples.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
151 ACCESSKEY="P" |
0 | 152 >Prev</A |
153 ></TD | |
154 ><TD | |
155 WIDTH="34%" | |
156 ALIGN="center" | |
157 VALIGN="top" | |
158 ><A | |
159 HREF="index.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
160 ACCESSKEY="H" |
0 | 161 >Home</A |
162 ></TD | |
163 ><TD | |
164 WIDTH="33%" | |
165 ALIGN="right" | |
166 VALIGN="top" | |
167 ><A | |
168 HREF="general.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
169 ACCESSKEY="N" |
0 | 170 >Next</A |
171 ></TD | |
172 ></TR | |
173 ><TR | |
174 ><TD | |
175 WIDTH="33%" | |
176 ALIGN="left" | |
177 VALIGN="top" | |
178 >Time Examples</TD | |
179 ><TD | |
180 WIDTH="34%" | |
181 ALIGN="center" | |
182 VALIGN="top" | |
183 > </TD | |
184 ><TD | |
185 WIDTH="33%" | |
186 ALIGN="right" | |
187 VALIGN="top" | |
188 >General</TD | |
189 ></TR | |
190 ></TABLE | |
191 ></DIV | |
192 ></BODY | |
193 ></HTML | |
194 > |