tabwin: close windows while cycling

Bugzilla Migration
2024-07-01T22:57:13Z

## Submitted by Andre Miranda `@andreldm`
Assigned to **Olivier Fourdan `@olivier`**

**[Link to original bug (#16134)](https://bugzilla.xfce.org/show_bug.cgi?id=16134)**
## Description
Created attachment 9197
wip.diff

The attached patch allows closing windows while cycling with the key "q" (not configurable).
It's not complete, I think it crashes xfwm4 when there is no window left.
It also makes more visible another bug: tabwin does not resize when windows are closed.

Well, it's a WIP and I would like to know if the proposed feature makes sense.

**Patch 9197**, "wip.diff":
[wip_close_cycling.diff](/uploads/90399e4d6058ec01d92c04e3e5b52f94/wip_close_cycling.diff)

Version: 4.14.0