mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 00:16:22 +01:00
Fix layer_surface_closed
This commit is contained in:
parent
dbda7bfbed
commit
6fe66d0e6c
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ static void layer_surface_configure(void *data,
|
||||||
static void layer_surface_closed(void *_output,
|
static void layer_surface_closed(void *_output,
|
||||||
struct zwlr_layer_surface_v1 *surface) {
|
struct zwlr_layer_surface_v1 *surface) {
|
||||||
// TODO: Deal with hotplugging
|
// TODO: Deal with hotplugging
|
||||||
struct swaybar_output *output = output;
|
struct swaybar_output *output = _output;
|
||||||
zwlr_layer_surface_v1_destroy(output->layer_surface);
|
zwlr_layer_surface_v1_destroy(output->layer_surface);
|
||||||
wl_surface_destroy(output->surface);
|
wl_surface_destroy(output->surface);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue