When running the counter example on Sway window manager clicking the left or right buttons leads to a panic.
Two errors seem to be reported depending on if the panic is immediate or not.
If the panic isn't immediate the window seems to be dismissed with the following error spamming the logs:
Protocol error 1 on object zwlr_layer_surface_v1@16:
If the panic is immediate it displays the errors:
zwlr_layer_surface_v1@16: error 1: width 0 requested without setting left and right anchors
khronos-egl-6.0.0/src/lib.rs:1173:42:
called `Option::unwrap()` on a `None` value