rio: make full-screen work properly; add showevent

This commit is contained in:
Russ Cox 2008-01-30 10:29:17 -05:00
parent 52abe8e130
commit 0206bd5113
12 changed files with 2132 additions and 11 deletions

View file

@ -87,6 +87,7 @@ dotrace(char *s, Client *c, XEvent *e)
{
if(debug == 0)
return;
setbuf(stdout, 0);
fprintf(stderr, "rio: %s: c=%p", s, (void*)c);
if(c)
fprintf(stderr, " x %d y %d dx %d dy %d w 0x%x parent 0x%x", c->x, c->y, c->dx, c->dy, (int)c->window, (int)c->parent);