x11: Drop unused methods

These are not used anywhere in Mutter or GNOME Shell, it seems
we can drop them.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2779>
This commit is contained in:
Carlos Garnacho 2023-02-23 17:14:46 +01:00
parent a799ac8ff0
commit 22c6374374
2 changed files with 0 additions and 32 deletions

View File

@ -45,18 +45,9 @@ Display *meta_x11_display_get_xdisplay (MetaX11Display *x11_display);
META_EXPORT
Window meta_x11_display_get_xroot (MetaX11Display *x11_display);
META_EXPORT
int meta_x11_display_get_xinput_opcode (MetaX11Display *x11_display);
META_EXPORT
int meta_x11_display_get_damage_event_base (MetaX11Display *x11_display);
META_EXPORT
int meta_x11_display_get_shape_event_base (MetaX11Display *x11_display);
META_EXPORT
gboolean meta_x11_display_has_shape (MetaX11Display *x11_display);
META_EXPORT
void meta_x11_display_set_cm_selection (MetaX11Display *x11_display);

View File

@ -1576,35 +1576,12 @@ meta_x11_display_get_xroot (MetaX11Display *x11_display)
return x11_display->xroot;
}
/**
* meta_x11_display_get_xinput_opcode: (skip)
* @x11_display: a #MetaX11Display
*
*/
int
meta_x11_display_get_xinput_opcode (MetaX11Display *x11_display)
{
return x11_display->xinput_opcode;
}
int
meta_x11_display_get_damage_event_base (MetaX11Display *x11_display)
{
return x11_display->damage_event_base;
}
int
meta_x11_display_get_shape_event_base (MetaX11Display *x11_display)
{
return x11_display->shape_event_base;
}
gboolean
meta_x11_display_has_shape (MetaX11Display *x11_display)
{
return META_X11_DISPLAY_HAS_SHAPE (x11_display);
}
Window
meta_x11_display_create_offscreen_window (MetaX11Display *x11_display,
Window parent,