mirror of
https://github.com/swaywm/sway.git
synced 2025-11-04 13:29:52 -05:00
style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false
This commit is contained in:
parent
24ad1c3983
commit
2bf893248a
17 changed files with 51 additions and 50 deletions
|
|
@ -527,12 +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
|
||||
#ifdef HAVE_XWAYLAND
|
||||
case SWAY_VIEW_XWAYLAND:
|
||||
_surface = wlr_surface_surface_at(sview->surface,
|
||||
view_sx, view_sy, &_sx, &_sy);
|
||||
break;
|
||||
#endif
|
||||
#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