Replace XDestroyWindow with xcb_destroy_window
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
e30ff25dd3
commit
0cae42faaa
|
@ -5603,7 +5603,7 @@ session_destroy(session_t *ps) {
|
||||||
|
|
||||||
// Free reg_win
|
// Free reg_win
|
||||||
if (ps->reg_win) {
|
if (ps->reg_win) {
|
||||||
XDestroyWindow(ps->dpy, ps->reg_win);
|
xcb_destroy_window(c, ps->reg_win);
|
||||||
ps->reg_win = None;
|
ps->reg_win = None;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue