i3-config-wizard: eliminate xcb_change_gc_single with C99

This commit is contained in:
Michael Stapelberg
2011-10-23 17:45:40 +01:00
parent cb9bbcfccf
commit 91ae73b1f6
3 changed files with 10 additions and 20 deletions

View File

@ -24,14 +24,6 @@
extern xcb_window_t root;
unsigned int xcb_numlock_mask;
/*
* 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 mask for Mode_switch (to be used for looking up keysymbols by
* keycode).