aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-11-18 08:22:25 -0500
committerLibravatar GitHub <noreply@github.com>2018-11-18 08:22:25 -0500
commitb87250425fe13149e41b346f15c5cf808f376438 (patch)
tree145fcb048cc3df3d04a8b6afb90de68dd2dd80a9 /sway/input/cursor.c
parentMerge pull request #3142 from RyanDwyer/move-view-properties (diff)
parentUse #if instead of #ifdef (diff)
downloadsway-b87250425fe13149e41b346f15c5cf808f376438.tar.gz
sway-b87250425fe13149e41b346f15c5cf808f376438.tar.zst
sway-b87250425fe13149e41b346f15c5cf808f376438.zip
Merge pull request #3147 from emersion/set10
Use #if instead of #ifdef
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r--sway/input/cursor.c2
1 files changed, 1 insertions, 1 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) {