x11: Remove gdk_x11_grab_server()

Luckily, this one is unused.
This commit is contained in:
Benjamin Otte 2017-11-02 12:47:50 +01:00
parent 9c98adcd15
commit 8aa68110bd
3 changed files with 0 additions and 33 deletions

View File

@ -927,8 +927,6 @@ gdk_x11_window_get_desktop
gdk_x11_window_set_utf8_property
gdk_x11_window_set_frame_extents
gdk_x11_window_set_frame_sync_enabled
gdk_x11_grab_server
gdk_x11_ungrab_server
gdk_x11_cursor_get_xcursor
gdk_x11_cursor_get_xdisplay
gdk_x11_keymap_get_group_for_state

View File

@ -388,30 +388,3 @@ _gdk_x11_region_get_xrectangles (const cairo_region_t *region,
*n_rects = n;
*rects = rectangles;
}
/**
* gdk_x11_grab_server:
*
* Call gdk_x11_display_grab() on the default display.
* To ungrab the server again, use gdk_x11_ungrab_server().
*
* gdk_x11_grab_server()/gdk_x11_ungrab_server() calls can be nested.
**/
void
gdk_x11_grab_server (void)
{
gdk_x11_display_grab (gdk_display_get_default ());
}
/**
* gdk_x11_ungrab_server:
*
* Ungrab the default display after it has been grabbed with
* gdk_x11_grab_server().
**/
void
gdk_x11_ungrab_server (void)
{
gdk_x11_display_ungrab (gdk_display_get_default ());
}

View File

@ -55,10 +55,6 @@ G_BEGIN_DECLS
*/
#define GDK_POINTER_TO_XID(pointer) GPOINTER_TO_UINT(pointer)
GDK_AVAILABLE_IN_ALL
void gdk_x11_grab_server (void);
GDK_AVAILABLE_IN_ALL
void gdk_x11_ungrab_server (void);
G_END_DECLS