aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r--sway/desktop/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index fa85d260..329632b6 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -934,7 +934,7 @@ bool output_has_opaque_lockscreen(struct sway_output *output,
934 .x2 = output->swayc->current.swayc_width, 934 .x2 = output->swayc->current.swayc_width,
935 .y2 = output->swayc->current.swayc_height, 935 .y2 = output->swayc->current.swayc_height,
936 }; 936 };
937 if (pixman_region32_contains_rectangle(&wlr_surface->current->opaque, 937 if (pixman_region32_contains_rectangle(&wlr_surface->current.opaque,
938 &output_box)) { 938 &output_box)) {
939 return true; 939 return true;
940 } 940 }