fix XWayland-only build: provide unconditional stub for get_window_image_from_x11 in wl_window.c so it links without the X11 backend
This commit is contained in:
parent
e98dd1f6f0
commit
b546e9505d
|
|
@ -26,11 +26,10 @@ struct wl_frame_buf *frame_buf_find(WNativeWindow id);
|
|||
extern void *W_RegisterBacking(unsigned long id, void *img);
|
||||
extern void W_UnregisterBacking(unsigned long id);
|
||||
struct wl_toplevel_view *wl_find_view_by_id(WNativeWindow id);
|
||||
#ifdef USE_XWAYLAND
|
||||
pixman_image_t *get_window_image_from_x11(Display *x_display, WNativeWindow win);
|
||||
#else
|
||||
pixman_image_t *get_window_image_from_x11(Display *x_display, WNativeWindow win) { (void)x_display; (void)win; return NULL; }
|
||||
#endif
|
||||
pixman_image_t *get_window_image_from_x11(Display *x_display, WNativeWindow win)
|
||||
{
|
||||
(void)x_display; (void)win; return NULL;
|
||||
}
|
||||
|
||||
|
||||
Bool
|
||||
|
|
|
|||
Loading…
Reference in New Issue