diff options
-rw-r--r-- | swaybar/bar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/bar.c b/swaybar/bar.c index afbce7cc..82404d33 100644 --- a/swaybar/bar.c +++ b/swaybar/bar.c | |||
@@ -46,7 +46,7 @@ static void layer_surface_configure(void *data, | |||
46 | static void layer_surface_closed(void *_output, | 46 | static void layer_surface_closed(void *_output, |
47 | struct zwlr_layer_surface_v1 *surface) { | 47 | struct zwlr_layer_surface_v1 *surface) { |
48 | // TODO: Deal with hotplugging | 48 | // TODO: Deal with hotplugging |
49 | struct swaybar_output *output = output; | 49 | struct swaybar_output *output = _output; |
50 | zwlr_layer_surface_v1_destroy(output->layer_surface); | 50 | zwlr_layer_surface_v1_destroy(output->layer_surface); |
51 | wl_surface_destroy(output->surface); | 51 | wl_surface_destroy(output->surface); |
52 | } | 52 | } |