diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-11-12 16:14:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 16:14:18 -0500 |
commit | 77dfac4fa4082ce95fc9769861e0b971754b6a66 (patch) | |
tree | cfffb364f9e79dc7acb2dc67075b33f15a1f57c9 /rootston/seat.c | |
parent | d2d8372cdc20c908342497fcdbfa91b6fc99df82 (diff) | |
parent | 51bfdd620e70c41e1a9fb4ce7831eddfb1bf893b (diff) |
Merge pull request #1372 from emersion/config10
Use #if instead of #ifdef for wlroots config data
Diffstat (limited to 'rootston/seat.c')
-rw-r--r-- | rootston/seat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rootston/seat.c b/rootston/seat.c index 82444dcb..95e7d6c9 100644 --- a/rootston/seat.c +++ b/rootston/seat.c @@ -1131,7 +1131,7 @@ void roots_seat_set_focus(struct roots_seat *seat, struct roots_view *view) { bool unfullscreen = true; -#ifdef WLR_HAS_XWAYLAND +#if WLR_HAS_XWAYLAND if (view && view->type == ROOTS_XWAYLAND_VIEW && view->xwayland_surface->override_redirect) { unfullscreen = false; @@ -1160,7 +1160,7 @@ void roots_seat_set_focus(struct roots_seat *seat, struct roots_view *view) { return; } -#ifdef WLR_HAS_XWAYLAND +#if WLR_HAS_XWAYLAND if (view && view->type == ROOTS_XWAYLAND_VIEW && !wlr_xwayland_or_surface_wants_focus( view->xwayland_surface)) { |