mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-30 11:08:33 -05:00
Make xwayland compile-time optional
This commit is contained in:
parent
decd87043f
commit
9cab66f0f9
7 changed files with 57 additions and 28 deletions
|
|
@ -49,12 +49,16 @@ struct roots_view {
|
|||
union {
|
||||
struct wlr_wl_shell_surface *wl_shell_surface;
|
||||
struct wlr_xdg_surface_v6 *xdg_surface_v6;
|
||||
#ifdef HAS_XWAYLAND
|
||||
struct wlr_xwayland_surface *xwayland_surface;
|
||||
#endif
|
||||
};
|
||||
union {
|
||||
struct roots_wl_shell_surface *roots_wl_shell_surface;
|
||||
struct roots_xdg_surface_v6 *roots_xdg_surface_v6;
|
||||
#ifdef HAS_XWAYLAND
|
||||
struct roots_xwayland_surface *roots_xwayland_surface;
|
||||
#endif
|
||||
};
|
||||
struct wlr_surface *wlr_surface;
|
||||
// TODO: This would probably be better as a field that's updated on a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue