mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
Destroy xwm selection window on destroy
This commit is contained in:
parent
6b42bfad18
commit
5584f42c1e
1 changed files with 3 additions and 0 deletions
|
|
@ -1090,6 +1090,9 @@ void xwm_destroy(struct wlr_xwm *xwm) {
|
||||||
if (!xwm) {
|
if (!xwm) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (xwm->selection_window) {
|
||||||
|
xcb_destroy_window(xwm->xcb_conn, xwm->selection_window);
|
||||||
|
}
|
||||||
if (xwm->cursor) {
|
if (xwm->cursor) {
|
||||||
xcb_free_cursor(xwm->xcb_conn, xwm->cursor);
|
xcb_free_cursor(xwm->xcb_conn, xwm->cursor);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue