diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-07 21:18:02 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-07 21:19:57 -0400 |
commit | a8c3d350a87d83c5c8e0b53a89fff85d72873166 (patch) | |
tree | c006a7d4dbf7846e40a65106197e8831b1eb9b43 /xlib.c | |
parent | a1ace02fedd9ed0c62ab2a4006a9fe918db3bb83 (diff) | |
download | runes-a8c3d350a87d83c5c8e0b53a89fff85d72873166.tar.gz runes-a8c3d350a87d83c5c8e0b53a89fff85d72873166.zip |
clean up the rest of the xlib stuff
Diffstat (limited to 'xlib.c')
-rw-r--r-- | xlib.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -132,6 +132,12 @@ void runes_loop_init(RunesTerm *t, uv_loop_t *loop) void runes_window_destroy(RunesWindow *w) { + XIM im; + + im = XIMOfIC(w->ic); + XDestroyIC(w->ic); + XCloseIM(im); + XFreeGC(w->dpy, w->gc); XDestroyWindow(w->dpy, w->w); XCloseDisplay(w->dpy); |