mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-17 06:59:43 -05:00
Merge pull request #220 from versusvoid/optional-xwayland
Make Xwayland optional
This commit is contained in:
commit
d0d6413772
10 changed files with 84 additions and 34 deletions
|
|
@ -58,12 +58,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