Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
event: destroy: unmark client when a client window is destroyed
We do nothing when a non-wm-frame window is destroyed. This will cause trouble if a wm-frame window is reused (i.e. its child is destroyed then a new child is reparented to it), because we didn't clear client_win. So this commit adds a call to win_unmark_client for that case. Related: #299 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
- Loading branch information