src/video/x11/SDL_x11video.c
changeset 1319 66f6c64c2c69
parent 1312 c9b51268668f
child 1325 1dfc85090d07
equal deleted inserted replaced
1318:f95502c6fc72 1319:66f6c64c2c69
  1294 		/* Flush any delayed updates */
  1294 		/* Flush any delayed updates */
  1295 		pXSync(GFX_Display, False);
  1295 		pXSync(GFX_Display, False);
  1296 
  1296 
  1297 		/* Close the connection with the IM server */
  1297 		/* Close the connection with the IM server */
  1298 		#ifdef X_HAVE_UTF8_STRING
  1298 		#ifdef X_HAVE_UTF8_STRING
  1299 		if (SDL_IC == NULL) {
  1299 		if (SDL_IC != NULL) {
  1300 			pXDestroyIC(SDL_IC);
  1300 			pXDestroyIC(SDL_IC);
  1301 			SDL_IC = NULL;
  1301 			SDL_IC = NULL;
  1302 		}
  1302 		}
  1303 		if (SDL_IM == NULL) {
  1303 		if (SDL_IM != NULL) {
  1304 			pXCloseIM(SDL_IM);
  1304 			pXCloseIM(SDL_IM);
  1305 			SDL_IM = NULL;
  1305 			SDL_IM = NULL;
  1306 		}
  1306 		}
  1307 		#endif
  1307 		#endif
  1308 
  1308