mirror of
https://github.com/yshui/picom.git
synced 2024-11-11 13:51:02 -05:00
core: destroy debug window in session_destroy
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
5094400ab7
commit
9194506696
1 changed files with 5 additions and 0 deletions
|
@ -2147,6 +2147,11 @@ static void session_destroy(session_t *ps) {
|
||||||
ps->reg_win = XCB_NONE;
|
ps->reg_win = XCB_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ps->debug_window) {
|
||||||
|
xcb_destroy_window(ps->c, ps->debug_window);
|
||||||
|
ps->debug_window = XCB_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
if (ps->o.experimental_backends) {
|
if (ps->o.experimental_backends) {
|
||||||
// backend is deinitialized in redir_stop
|
// backend is deinitialized in redir_stop
|
||||||
assert(ps->backend_data == NULL);
|
assert(ps->backend_data == NULL);
|
||||||
|
|
Loading…
Reference in a new issue