diff options
author | emersion <contact@emersion.fr> | 2018-11-18 00:33:06 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-11-18 00:33:06 +0100 |
commit | cad851805bea6b4777685df1c6adf8cb9fa71835 (patch) | |
tree | 145fcb048cc3df3d04a8b6afb90de68dd2dd80a9 /sway/input/seat.c | |
parent | Merge pull request #3142 from RyanDwyer/move-view-properties (diff) | |
download | sway-cad851805bea6b4777685df1c6adf8cb9fa71835.tar.gz sway-cad851805bea6b4777685df1c6adf8cb9fa71835.tar.zst sway-cad851805bea6b4777685df1c6adf8cb9fa71835.zip |
Use #if instead of #ifdef
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r-- | sway/input/seat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |