Replace XDestroyWindow with xcb_destroy_window

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter
2018-10-10 10:41:40 +01:00
committed by Yuxuan Shui
parent e30ff25dd3
commit 0cae42faaa
+1 -1
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;
}