diff options
Diffstat (limited to 'sway/input')
-rw-r--r-- | sway/input/cursor.c | 2 | ||||
-rw-r--r-- | sway/input/seat.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index c81e9ab1..c6b7414c 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c | |||
@@ -63,7 +63,7 @@ static struct sway_node *node_at_coords( | |||
63 | struct sway_seat *seat, double lx, double ly, | 63 | struct sway_seat *seat, double lx, double ly, |
64 | struct wlr_surface **surface, double *sx, double *sy) { | 64 | struct wlr_surface **surface, double *sx, double *sy) { |
65 | // check for unmanaged views first | 65 | // check for unmanaged views first |
66 | #ifdef HAVE_XWAYLAND | 66 | #if HAVE_XWAYLAND |
67 | struct wl_list *unmanaged = &root->xwayland_unmanaged; | 67 | struct wl_list *unmanaged = &root->xwayland_unmanaged; |
68 | struct sway_xwayland_unmanaged *unmanaged_surface; | 68 | struct sway_xwayland_unmanaged *unmanaged_surface; |
69 | wl_list_for_each_reverse(unmanaged_surface, unmanaged, link) { | 69 | wl_list_for_each_reverse(unmanaged_surface, unmanaged, link) { |
diff --git a/sway/input/seat.c b/sway/input/seat.c index 54fdf40b..663c5140 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -92,7 +92,7 @@ static void seat_send_focus(struct sway_node *node, struct sway_seat *seat) { | |||
92 | node->sway_container->view : NULL; | 92 | node->sway_container->view : NULL; |
93 | 93 | ||
94 | if (view && seat_is_input_allowed(seat, view->surface)) { | 94 | if (view && seat_is_input_allowed(seat, view->surface)) { |
95 | #ifdef HAVE_XWAYLAND | 95 | #if HAVE_XWAYLAND |
96 | if (view->type == SWAY_VIEW_XWAYLAND) { | 96 | if (view->type == SWAY_VIEW_XWAYLAND) { |
97 | struct wlr_xwayland *xwayland = server.xwayland.wlr_xwayland; | 97 | struct wlr_xwayland *xwayland = server.xwayland.wlr_xwayland; |
98 | wlr_xwayland_set_seat(xwayland, seat->wlr_seat); | 98 | wlr_xwayland_set_seat(xwayland, seat->wlr_seat); |