diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2023-02-23 17:14:46 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2023-02-23 17:19:22 +0100 |
commit | 22c637437465006ac45c6d667edb515a28a56c5d (patch) | |
tree | 679a67bf6d6c6bfaccef57ccc84272c8affffcd5 /src | |
parent | a799ac8ff0d965c346dea6af845722e59a0ffc02 (diff) | |
download | mutter-22c637437465006ac45c6d667edb515a28a56c5d.tar.gz |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/meta/meta-x11-display.h | 9 | ||||
-rw-r--r-- | src/x11/meta-x11-display.c | 23 |
2 files changed, 0 insertions, 32 deletions
diff --git a/src/meta/meta-x11-display.h b/src/meta/meta-x11-display.h index b910389bf..4a823b972 100644 --- a/src/meta/meta-x11-display.h +++ b/src/meta/meta-x11-display.h @@ -46,18 +46,9 @@ 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); META_EXPORT diff --git a/src/x11/meta-x11-display.c b/src/x11/meta-x11-display.c index 4ea0bbc91..bda4c3d87 100644 --- a/src/x11/meta-x11-display.c +++ b/src/x11/meta-x11-display.c @@ -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, |