aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 5eb44412..35683f06 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -83,8 +83,8 @@ struct sway_node *node_at_coords(
83 return NULL; 83 return NULL;
84 } 84 }
85 struct sway_output *output = wlr_output->data; 85 struct sway_output *output = wlr_output->data;
86 if (!output) { 86 if (!output || !output->configured) {
87 // output is being destroyed 87 // output is being destroyed or is being configured
88 return NULL; 88 return NULL;
89 } 89 }
90 double ox = lx, oy = ly; 90 double ox = lx, oy = ly;