summaryrefslogtreecommitdiffstats
path: root/source/x11-helper.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-08-22 08:39:22 +0200
committerDave Davenport <qball@gmpclient.org>2016-08-22 08:39:22 +0200
commitad53de507cfdafa53873d701b3d18a7704144b0a (patch)
treef5f4a5e8b10fcca70291b365fd13e2e9f82b5465 /source/x11-helper.c
parent284b3cb78bebe1b28bbbb68724e450f99ee4ccdf (diff)
Extra cleanup at exit.
Diffstat (limited to 'source/x11-helper.c')
-rw-r--r--source/x11-helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/x11-helper.c b/source/x11-helper.c
index bebfea8a..560ce39f 100644
--- a/source/x11-helper.c
+++ b/source/x11-helper.c
@@ -37,6 +37,7 @@
#include <xcb/xcb.h>
#include <xcb/randr.h>
+#include <xcb/xcb_ewmh.h>
#include "xcb-internal.h"
#include "xcb.h"
#include "settings.h"
@@ -882,6 +883,7 @@ void xcb_stuff_wipe ( xcb_stuff *xcb )
}
x11_monitors_free ();
xcb_disconnect ( xcb->connection );
+ xcb_ewmh_connection_wipe ( &( xcb->ewmh ) );
xcb->connection = NULL;
xcb->screen = NULL;
xcb->screen_nbr = 0;