diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2024-03-12 14:48:34 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-03-18 15:41:18 +0000 |
commit | 4eb8684f5248e461be05f379afd7e59a2db9c4bd (patch) | |
tree | 3a45e320c576e2664cd8856764f2955ebeb3c64d /hw/xwayland/xwayland-glamor.c | |
parent | 6fd77acd91f342b8441b3c21abb7d85739ebf2f0 (diff) |
xwayland/glamor: Drop the allow_commit() hook
That was used only by the EGLStream backend, we can remove it.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1386>
Diffstat (limited to 'hw/xwayland/xwayland-glamor.c')
-rw-r--r-- | hw/xwayland/xwayland-glamor.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/hw/xwayland/xwayland-glamor.c b/hw/xwayland/xwayland-glamor.c index dca556734..95e65af64 100644 --- a/hw/xwayland/xwayland-glamor.c +++ b/hw/xwayland/xwayland-glamor.c @@ -126,17 +126,6 @@ xwl_glamor_has_wl_interfaces(struct xwl_screen *xwl_screen, return TRUE; } -Bool -xwl_glamor_allow_commits(struct xwl_window *xwl_window) -{ - struct xwl_screen *xwl_screen = xwl_window->xwl_screen; - - if (xwl_screen->egl_backend->allow_commits) - return xwl_screen->egl_backend->allow_commits(xwl_window); - else - return TRUE; -} - static void xwl_avoid_implicit_redirect(WindowPtr window) { |