changeproperty.c (341B)
1 /* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail> 2 * See LICENSE file for license details. 3 */ 4 #include "../x11.h" 5 6 void 7 changeproperty(Window *w, const char *prop, const char *type, 8 int width, const uchar data[], int n) { 9 XChangeProperty(display, w->xid, xatom(prop), xatom(type), width, 10 PropModeReplace, data, n); 11 }