mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Added meson option "enable_xwayland" (default: true) to enable/disable xwayland support
This commit is contained in:
parent
817d37c950
commit
24ad1c3983
18 changed files with 92 additions and 20 deletions
|
|
@ -527,10 +527,12 @@ static struct sway_container *container_at_view(struct sway_container *swayc,
|
|||
double _sx, _sy;
|
||||
struct wlr_surface *_surface = NULL;
|
||||
switch (sview->type) {
|
||||
#ifdef HAVE_XWAYLAND
|
||||
case SWAY_VIEW_XWAYLAND:
|
||||
_surface = wlr_surface_surface_at(sview->surface,
|
||||
view_sx, view_sy, &_sx, &_sy);
|
||||
break;
|
||||
#endif
|
||||
case SWAY_VIEW_XDG_SHELL_V6:
|
||||
_surface = wlr_xdg_surface_v6_surface_at(
|
||||
sview->wlr_xdg_surface_v6,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue