aboutsummaryrefslogtreecommitdiff
path: root/swaybar/bar.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-29 22:25:25 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-29 22:25:25 -0400
commit6fe66d0e6c9a20a9dbe2d464671ff19ea5b0387c (patch)
treeb30c30c208f2f15ed7f01db0aab58b34d8b45e1c /swaybar/bar.c
parentdbda7bfbed7d4ac67f7c2932dd0b82fb5531f89a (diff)
Fix layer_surface_closed
Diffstat (limited to 'swaybar/bar.c')
-rw-r--r--swaybar/bar.c2
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,
static void layer_surface_closed(void *_output,
struct zwlr_layer_surface_v1 *surface) {
// TODO: Deal with hotplugging
- struct swaybar_output *output = output;
+ struct swaybar_output *output = _output;
zwlr_layer_surface_v1_destroy(output->layer_surface);
wl_surface_destroy(output->surface);
}