xwayland: Drop pixmap parameter from xwl_present_maybe_redirect_window
Never used. Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1570>
This commit is contained in:
parent
a6a993f950
commit
ed575eee81
|
@ -98,7 +98,7 @@ xwl_glamor_check_flip(WindowPtr present_window, PixmapPtr pixmap)
|
||||||
if (pixmap->drawable.depth == 32)
|
if (pixmap->drawable.depth == 32)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
return xwl_present_maybe_redirect_window(present_window, pixmap);
|
return xwl_present_maybe_redirect_window(present_window);
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
|
@ -1284,7 +1284,7 @@ xwl_present_unrealize_window(struct xwl_present_window *xwl_present_window)
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool
|
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_present_window *xwl_present_window = xwl_present_window_get_priv(window);
|
||||||
struct xwl_window *xwl_window = xwl_window_from_window(window);
|
struct xwl_window *xwl_window = xwl_window_from_window(window);
|
||||||
|
|
|
@ -81,7 +81,7 @@ void xwl_present_frame_callback(struct xwl_present_window *xwl_present_window);
|
||||||
Bool xwl_present_init(ScreenPtr screen);
|
Bool xwl_present_init(ScreenPtr screen);
|
||||||
void xwl_present_cleanup(WindowPtr window);
|
void xwl_present_cleanup(WindowPtr window);
|
||||||
void xwl_present_unrealize_window(struct xwl_present_window *xwl_present_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);
|
Bool xwl_present_maybe_unredirect_window(WindowPtr window);
|
||||||
|
|
||||||
#endif /* XWAYLAND_PRESENT_H */
|
#endif /* XWAYLAND_PRESENT_H */
|
||||||
|
|
Loading…
Reference in New Issue