src/video/x11/SDL_x11wm.c
changeset 1849 b5a4ac87b98c
parent 1767 ae9f6be81810
child 1895 c121d94672cb
child 3872 be84332e761e
equal deleted inserted replaced
1848:3c5eed71a332 1849:b5a4ac87b98c
   244 {
   244 {
   245 	XTextProperty titleprop, iconprop;
   245 	XTextProperty titleprop, iconprop;
   246 	Status status;
   246 	Status status;
   247 
   247 
   248 #ifdef X_HAVE_UTF8_STRING
   248 #ifdef X_HAVE_UTF8_STRING
   249 	Atom _NET_WM_NAME;
   249 	Atom _NET_WM_NAME = 0;
   250 	Atom _NET_WM_ICON_NAME;
   250 	Atom _NET_WM_ICON_NAME = 0;
   251 
   251 
   252 	/* Look up some useful Atoms */
   252 	/* Look up some useful Atoms */
   253 	if (SDL_X11_HAVE_UTF8) {
   253 	if (SDL_X11_HAVE_UTF8) {
   254 		_NET_WM_NAME = XInternAtom(SDL_Display, "_NET_WM_NAME", False);
   254 		_NET_WM_NAME = XInternAtom(SDL_Display, "_NET_WM_NAME", False);
   255 		_NET_WM_ICON_NAME = XInternAtom(SDL_Display, "_NET_WM_ICON_NAME", False);
   255 		_NET_WM_ICON_NAME = XInternAtom(SDL_Display, "_NET_WM_ICON_NAME", False);