diff --git a/hw/xwayland/xwayland-glamor.c b/hw/xwayland/xwayland-glamor.c index 604658284..69e31b43f 100644 --- a/hw/xwayland/xwayland-glamor.c +++ b/hw/xwayland/xwayland-glamor.c @@ -98,7 +98,7 @@ xwl_glamor_check_flip(WindowPtr present_window, PixmapPtr pixmap) if (pixmap->drawable.depth == 32) return FALSE; - return xwl_present_maybe_redirect_window(present_window, pixmap); + return xwl_present_maybe_redirect_window(present_window); } return TRUE; diff --git a/hw/xwayland/xwayland-present.c b/hw/xwayland/xwayland-present.c index 4d2410568..1e66f586c 100644 --- a/hw/xwayland/xwayland-present.c +++ b/hw/xwayland/xwayland-present.c @@ -1284,7 +1284,7 @@ xwl_present_unrealize_window(struct xwl_present_window *xwl_present_window) } Bool -xwl_present_maybe_redirect_window(WindowPtr window, PixmapPtr pixmap) +xwl_present_maybe_redirect_window(WindowPtr window) { struct xwl_present_window *xwl_present_window = xwl_present_window_get_priv(window); struct xwl_window *xwl_window = xwl_window_from_window(window); diff --git a/hw/xwayland/xwayland-present.h b/hw/xwayland/xwayland-present.h index 808e54182..d399914d9 100644 --- a/hw/xwayland/xwayland-present.h +++ b/hw/xwayland/xwayland-present.h @@ -81,7 +81,7 @@ void xwl_present_frame_callback(struct xwl_present_window *xwl_present_window); Bool xwl_present_init(ScreenPtr screen); void xwl_present_cleanup(WindowPtr window); void xwl_present_unrealize_window(struct xwl_present_window *xwl_present_window); -Bool xwl_present_maybe_redirect_window(WindowPtr window, PixmapPtr pixmap); +Bool xwl_present_maybe_redirect_window(WindowPtr window); Bool xwl_present_maybe_unredirect_window(WindowPtr window); #endif /* XWAYLAND_PRESENT_H */