mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
Be quiet.
This commit is contained in:
parent
a919ad8340
commit
75e12c22c3
2 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,8 @@ graberror(char *f, int err)
|
|||
void
|
||||
dotrace(char *s, Client *c, XEvent *e)
|
||||
{
|
||||
if(debug == 0)
|
||||
return;
|
||||
fprintf(stderr, "rio: %s: c=%p", s, 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, (uint)c->window, (uint)c->parent);
|
||||
|
|
|
@ -314,6 +314,8 @@ clientmesg(XClientMessageEvent *e)
|
|||
perror("rio: exec failed");
|
||||
exit(1);
|
||||
}
|
||||
if(e->message_type == wm_protocols)
|
||||
return;
|
||||
if(e->message_type == wm_change_state){
|
||||
c = getclient(e->window, 0);
|
||||
if(e->format == 32 && e->data.l[0] == IconicState && c != 0){
|
||||
|
|
Loading…
Reference in a new issue