Maybe this is user error, and I there is some step I am missing in setting up the client side decorations (which by the way is remarkably complicated to do). But it seems like the library should avoid creating a buffer with invalid parameters.
I think it should either use a minimum size of 1 for the buffers, avoid drawing altogether if the widht and height are zero.
When I call
FallbackFrame::draw
I get this error in the title.More context from the wayland debug output:
Maybe this is user error, and I there is some step I am missing in setting up the client side decorations (which by the way is remarkably complicated to do). But it seems like the library should avoid creating a buffer with invalid parameters.
I think it should either use a minimum size of 1 for the buffers, avoid drawing altogether if the widht and height are zero.
See https://github.com/wez/wezterm/pull/5044