Merge pull request #26 from phillbush/localize

Localize
This commit is contained in:
Adrian Chadd
2026-02-05 03:38:04 +00:00
committed by GitHub
4 changed files with 557 additions and 548 deletions

14
icc.c
View File

@@ -78,20 +78,6 @@ void setstringprop(Window w, Atom a, char *str)
XSetTextProperty(dpy, w, &txtp, a);
}
XEvent *mkcmessage(Window w, Atom a, long x)
{
static XEvent ev;
memset(&ev, 0, sizeof(ev));
ev.xclient.type = ClientMessage;
ev.xclient.window = w;
ev.xclient.message_type = a;
ev.xclient.format = 32;
ev.xclient.data.l[0] = x;
ev.xclient.data.l[1] = CurrentTime;
return &ev;
}
void getwmstate(Client *c)
{
Atom *p;