diff options
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/window.c b/src/window.c index 55ebfe2..813fb4b 100644 --- a/src/window.c +++ b/src/window.c @@ -18,18 +18,6 @@ #include "any_log.h" #include "window.h" -static xcb_atom_t intern_atom(window_t *window, const char *atom) -{ - xcb_generic_error_t *error; - xcb_intern_atom_cookie_t cookie = xcb_intern_atom(window->display->connection, false, strlen(atom), atom); - xcb_intern_atom_reply_t *reply = xcb_intern_atom_reply(window->display->connection, cookie, &error); - - assert(error == NULL); - xcb_atom_t id = reply->atom; - free(reply); - return id; -} - static void wm_set_size(window_t *window) { xcb_size_hints_t hints = { 0 }; |
