Replace XDestroyWindow with xcb_destroy_window

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2018-10-03 14:05:33 +02:00 committed by Yuxuan Shui
parent e30ff25dd3
commit 0cae42faaa
1 changed files with 1 additions and 1 deletions

View File

@ -5603,7 +5603,7 @@ session_destroy(session_t *ps) {
// Free reg_win
if (ps->reg_win) {
XDestroyWindow(ps->dpy, ps->reg_win);
xcb_destroy_window(c, ps->reg_win);
ps->reg_win = None;
}