]> git.sur5r.net Git - i3/i3/blobdiff - i3-input/xcb.c
i3-input: eliminate xcb_change_gc_single usage with C99
[i3/i3] / i3-input / xcb.c
index 3c1d99e1c21f758b4811c3f9b7fcea040fdc3eaf..0c7e9434e31bcf8257763e4cf0d5b9f4a8b3ba28 100644 (file)
 
 #include "i3-input.h"
 
-/*
- * Convenience-wrapper around xcb_change_gc which saves us declaring a variable
- *
- */
-void xcb_change_gc_single(xcb_connection_t *conn, xcb_gcontext_t gc, uint32_t mask, uint32_t value) {
-        xcb_change_gc(conn, gc, mask, &value);
-}
-
 /*
  * Returns the colorpixel to use for the given hex color (think of HTML).
  *