Commit 55e1031e authored by Matthias Clasen's avatar Matthias Clasen

Remove gdk_net_wm_supports

This function is totally misnamed, only operates on the default
screen, and has a perfectly fine replacement in
gdk_x11_screen_supports_net_wm_hint.
parent 902fd60a
......@@ -954,7 +954,6 @@ gdk_x11_window_foreign_new_for_display
gdk_x11_window_lookup_for_display
gdk_x11_lookup_xdisplay
gdk_x11_get_server_time
gdk_net_wm_supports
gdk_x11_screen_supports_net_wm_hint
gdk_x11_screen_get_window_manager_name
gdk_x11_screen_get_monitor_output
......
......@@ -236,7 +236,6 @@ gdk_keyval_to_unicode G_GNUC_CONST
gdk_keyval_to_upper G_GNUC_CONST
gdk_list_visuals
gdk_modifier_type_get_type G_GNUC_CONST
gdk_net_wm_supports
gdk_notify_startup_complete
gdk_notify_startup_complete_with_id
gdk_notify_type_get_type G_GNUC_CONST
......
......@@ -1449,23 +1449,6 @@ gdk_x11_screen_supports_net_wm_hint (GdkScreen *screen,
return FALSE;
}
/**
* gdk_net_wm_supports:
* @property: a property atom.
*
* This function is specific to the X11 backend of GDK, and indicates
* whether the window manager for the default screen supports a certain
* hint from the Extended Window Manager Hints Specification. See
* gdk_x11_screen_supports_net_wm_hint() for complete details.
*
* Return value: %TRUE if the window manager supports @property
**/
gboolean
gdk_net_wm_supports (GdkAtom property)
{
return gdk_x11_screen_supports_net_wm_hint (gdk_screen_get_default (), property);
}
static void
refcounted_grab_server (Display *xdisplay)
{
......
......@@ -188,7 +188,6 @@ XID gdk_x11_screen_get_monitor_output (GdkScreen *screen,
gint monitor_num);
#ifndef GDK_MULTIHEAD_SAFE
gboolean gdk_net_wm_supports (GdkAtom property);
void gdk_x11_grab_server (void);
void gdk_x11_ungrab_server (void);
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment