#include "lx.h" #include "proto.h" #include "internal.h" void lx_DeleteProperty(LX_CONN *xc, LX_XID window, LX_XID property) { unsigned char req[12]; if (xc->flags & XCF_FAIL) { lx__bad_call(xc,"lx_DeleteProperty"); return; } lx__nochain(xc); req[0] = XP_REQ_DeleteProperty; req[1] = 0; w_card16(&req[2],3); w_card32(&req[4],window); w_card32(&req[8],property); lx__send_req(xc,&req[0],-1); }