From 0cae42faaae1ae4b4bfc2c9edad1c18e4c06853c Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 3 Oct 2018 14:05:33 +0200 Subject: [PATCH] Replace XDestroyWindow with xcb_destroy_window Signed-off-by: Uli Schlachter --- src/compton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compton.c b/src/compton.c index 41192f8..78a6f75 100644 --- a/src/compton.c +++ b/src/compton.c @@ -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; }