| ((state & ctrl_modifier) ? ControlMask : 0)
| ((state & meta_modifier) ? dpyinfo->meta_mod_mask : 0));
}
+
+/* Convert a keysym to its name. */
+
+char *
+x_get_keysym_name (keysym)
+ KeySym keysym;
+{
+ char *value;
+
+ BLOCK_INPUT;
+ value = XKeysymToString (keysym);
+ UNBLOCK_INPUT;
+
+ return value;
+}
\f
/* Mouse clicks and mouse movement. Rah. */
#endif /* not USE_X_TOOLKIT */
}
\f
-/* Mouse warping, focus shifting, raising and lowering. */
+/* Mouse warping. */
void
x_set_mouse_position (f, x, y)
0, 0, 0, 0, pix_x, pix_y);
UNBLOCK_INPUT;
}
+\f
+/* focus shifting, raising and lowering. */
x_focus_on_frame (f)
struct frame *f;
else
x_lower_frame (f);
}
-
-/* Change from withdrawn state to mapped state,
- or deiconify. */
+\f
+/* Change of visibility. */
x_make_frame_visible (f)
struct frame *f;
/* Change from mapped state to withdrawn state. */
+/* Make the frame visible (mapped and not iconified). */
+
x_make_frame_invisible (f)
struct frame *f;
{
UNBLOCK_INPUT;
#endif /* not USE_X_TOOLKIT */
}
-
+\f
/* Destroy the X window of frame F. */
x_destroy_window (f)