aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r--sway/input/cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index d10ba444..0d5b076b 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -99,8 +99,8 @@ struct sway_node *node_at_coords(
99 return NULL; 99 return NULL;
100 } 100 }
101 struct sway_output *output = wlr_output->data; 101 struct sway_output *output = wlr_output->data;
102 if (!output || !output->configured) { 102 if (!output || !output->enabled) {
103 // output is being destroyed or is being configured 103 // output is being destroyed or is being enabled
104 return NULL; 104 return NULL;
105 } 105 }
106 double ox = lx, oy = ly; 106 double ox = lx, oy = ly;