diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-29 22:25:25 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-03-29 22:25:25 -0400 |
commit | 6fe66d0e6c9a20a9dbe2d464671ff19ea5b0387c (patch) | |
tree | b30c30c208f2f15ed7f01db0aab58b34d8b45e1c /swaybar/bar.c | |
parent | Move declaration into loop (diff) | |
download | sway-6fe66d0e6c9a20a9dbe2d464671ff19ea5b0387c.tar.gz sway-6fe66d0e6c9a20a9dbe2d464671ff19ea5b0387c.tar.zst sway-6fe66d0e6c9a20a9dbe2d464671ff19ea5b0387c.zip |
Fix layer_surface_closed
Diffstat (limited to 'swaybar/bar.c')
-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 | } |