aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seatop_default.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/seatop_default.c')
-rw-r--r--sway/input/seatop_default.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/input/seatop_default.c b/sway/input/seatop_default.c
index 0c6f7c5e..e01fa933 100644
--- a/sway/input/seatop_default.c
+++ b/sway/input/seatop_default.c
@@ -15,7 +15,7 @@
15#include "sway/tree/view.h" 15#include "sway/tree/view.h"
16#include "sway/tree/workspace.h" 16#include "sway/tree/workspace.h"
17#include "log.h" 17#include "log.h"
18#if HAVE_XWAYLAND 18#if WLR_HAS_XWAYLAND
19#include "sway/xwayland.h" 19#include "sway/xwayland.h"
20#endif 20#endif
21 21
@@ -234,7 +234,7 @@ static void handle_tablet_tool_tip(struct sway_seat *seat,
234 node->sway_container : NULL; 234 node->sway_container : NULL;
235 235
236 struct wlr_layer_surface_v1 *layer; 236 struct wlr_layer_surface_v1 *layer;
237#if HAVE_XWAYLAND 237#if WLR_HAS_XWAYLAND
238 struct wlr_xwayland_surface *xsurface; 238 struct wlr_xwayland_surface *xsurface;
239#endif 239#endif
240 if ((layer = wlr_layer_surface_v1_try_from_wlr_surface(surface)) && 240 if ((layer = wlr_layer_surface_v1_try_from_wlr_surface(surface)) &&
@@ -268,7 +268,7 @@ static void handle_tablet_tool_tip(struct sway_seat *seat,
268 seat_set_focus_container(seat, cont); 268 seat_set_focus_container(seat, cont);
269 seatop_begin_down(seat, node->sway_container, sx, sy); 269 seatop_begin_down(seat, node->sway_container, sx, sy);
270 } 270 }
271#if HAVE_XWAYLAND 271#if WLR_HAS_XWAYLAND
272 // Handle tapping on an xwayland unmanaged view 272 // Handle tapping on an xwayland unmanaged view
273 else if ((xsurface = wlr_xwayland_surface_try_from_wlr_surface(surface)) && 273 else if ((xsurface = wlr_xwayland_surface_try_from_wlr_surface(surface)) &&
274 xsurface->override_redirect && 274 xsurface->override_redirect &&
@@ -514,7 +514,7 @@ static void handle_button(struct sway_seat *seat, uint32_t time_msec,
514 return; 514 return;
515 } 515 }
516 516
517#if HAVE_XWAYLAND 517#if WLR_HAS_XWAYLAND
518 // Handle clicking on xwayland unmanaged view 518 // Handle clicking on xwayland unmanaged view
519 struct wlr_xwayland_surface *xsurface; 519 struct wlr_xwayland_surface *xsurface;
520 if (surface && 520 if (surface &&