diff options
author | Armin Krezović <krezovic.armin@gmail.com> | 2017-08-26 18:28:53 +0200 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2018-07-06 19:47:16 +0200 |
commit | c64d5ad8af0712390c1ff10795a578cb31a0bb9b (patch) | |
tree | df4796415c390c8fd5386afdd7210107362a67bb /src/wayland | |
parent | dacc041d0c0ddefa99085158dcbdeb13949b3cd0 (diff) | |
download | mutter-c64d5ad8af0712390c1ff10795a578cb31a0bb9b.tar.gz |
Move X11 extension queries to MetaX11Display
Also split extension queries into their own functions
https://bugzilla.gnome.org/show_bug.cgi?id=759538
Diffstat (limited to 'src/wayland')
-rw-r--r-- | src/wayland/meta-xwayland-selection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wayland/meta-xwayland-selection.c b/src/wayland/meta-xwayland-selection.c index 5158ffb43..b70687bbd 100644 --- a/src/wayland/meta-xwayland-selection.c +++ b/src/wayland/meta-xwayland-selection.c @@ -1673,9 +1673,9 @@ meta_xwayland_selection_handle_event (XEvent *xevent) return meta_xwayland_selection_handle_client_message (compositor, xevent); default: { - MetaDisplay *display = meta_get_display (); + MetaX11Display *x11_display = meta_get_display ()->x11_display; - if (xevent->type - display->xfixes_event_base == XFixesSelectionNotify) + if (xevent->type - x11_display->xfixes_event_base == XFixesSelectionNotify) return meta_xwayland_selection_handle_xfixes_selection_notify (compositor, xevent); return FALSE; |