<SUBSECTION>
gdk_beep
-<SUBSECTION>
-gdk_get_use_xshm
-gdk_set_use_xshm
-
<SUBSECTION>
gdk_error_trap_push
gdk_error_trap_pop
@void:
-<!-- ##### FUNCTION gdk_get_use_xshm ##### -->
-<para>
-Returns %TRUE if GDK will attempt to use the MIT-SHM shared memory extension.
-</para>
-<para>
-The shared memory extension is used for #GdkImage, and consequently for
-<link linkend="gdk-GdkRGB">GdkRGB</link>.
-It enables much faster drawing by communicating with the X server through
-SYSV shared memory calls. However, it can only be used if the X client and
-server are on the same machine and the server supports it.
-</para>
-
-@void:
-@Returns: %TRUE if use of the MIT shared memory extension will be attempted.
-
-
-<!-- ##### FUNCTION gdk_set_use_xshm ##### -->
-<para>
-Sets whether the use of the MIT shared memory extension should be attempted.
-This function is mainly for internal use. It is only safe for an application
-to set this to %FALSE, since if it is set to %TRUE and the server does not
-support the extension it may cause warning messages to be output.
-</para>
-
-@use_xshm: %TRUE if use of the MIT shared memory extension should be attempted.
-
-
<!-- ##### FUNCTION gdk_error_trap_push ##### -->
<para>
This function allows X errors to be trapped instead of the normal behavior
*/
}
-void
-gdk_set_use_xshm (gboolean use_xshm)
-{
-}
-
-gboolean
-gdk_get_use_xshm (void)
-{
- return FALSE;
-}
-
void
_gdk_windowing_display_set_sm_client_id (GdkDisplay *display,const gchar *sm_client_id)
{
void gdk_error_trap_push (void);
gint gdk_error_trap_pop (void);
-#ifndef GDK_DISABLE_DEPRECATED
-void gdk_set_use_xshm (gboolean use_xshm);
-gboolean gdk_get_use_xshm (void);
-#endif /* GDK_DISABLE_DEPRECATED */
-
gchar* gdk_get_display (void);
G_CONST_RETURN gchar* gdk_get_display_arg_name (void);
gdk_error_trap_pop
gdk_error_trap_push
gdk_get_display
-#ifndef GDK_DISABLE_DEPRECATED
-gdk_get_use_xshm
-gdk_set_use_xshm
-#endif
#endif
#endif
const gchar *sm_client_id)
{
}
-
-void
-gdk_set_use_xshm (gboolean use_xshm)
-{
- /* Always on, since we're always on the local machine */
-}
-
-gboolean
-gdk_get_use_xshm (void)
-{
- return TRUE;
-}
-
g_warning ("%s: %s failed", where, api);
}
-void
-gdk_set_use_xshm (gboolean use_xshm)
-{
- /* Always on */
-}
-
-gboolean
-gdk_get_use_xshm (void)
-{
- return TRUE;
-}
-
gint
gdk_screen_get_width (GdkScreen *screen)
{
_gdk_selection_property = gdk_atom_intern_static_string ("GDK_SELECTION");
}
-void
-gdk_set_use_xshm (gboolean use_xshm)
-{
-}
-
-gboolean
-gdk_get_use_xshm (void)
-{
- return GDK_DISPLAY_X11 (gdk_display_get_default ())->use_xshm;
-}
-
GdkGrabStatus
_gdk_x11_convert_grab_status (gint status)
{