BLOCK_INPUT;
+ if (x_icon_type (f))
+ x_bitmap_icon (f);
+
if (! FRAME_VISIBLE_P (f))
{
#ifndef USE_X_TOOLKIT
if (f->async_iconified)
return;
-#ifdef USE_X_TOOLKIT
BLOCK_INPUT;
+ if (x_icon_type (f))
+ x_bitmap_icon (f);
+
+#ifdef USE_X_TOOLKIT
+
if (! FRAME_VISIBLE_P (f))
{
if (! EQ (Vx_no_window_manager, Qt))
UNBLOCK_INPUT;
#else /* not USE_X_TOOLKIT */
- BLOCK_INPUT;
-
/* Make sure the X server knows where the window should be positioned,
in case the user deiconifies with the window manager. */
if (! FRAME_VISIBLE_P (f) && !FRAME_ICONIFIED_P (f))
x_focus_frame = x_highlight_frame = 0;
#ifdef USE_X_TOOLKIT
+#ifdef HAVE_X11R5
+ XtSetLanguageProc (NULL, NULL, NULL);
+#endif
+
argv = (char **) XtMalloc (7 * sizeof (char *));
argv[0] = "";
argv[1] = "-display";
x_current_display = XtDisplay (Xt_app_shell);
#else /* not USE_X_TOOLKIT */
+#ifdef HAVE_X11R5
+ XSetLocaleModifiers ("");
+#endif
x_current_display = XOpenDisplay (display_name);
#endif /* not USE_X_TOOLKIT */
if (x_current_display == 0)