aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rio/error.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2008-01-30 10:29:17 -0500
committerRuss Cox <rsc@swtch.com>2008-01-30 10:29:17 -0500
commit0206bd5113e727870d4eb24fbd5f17843745237d (patch)
tree584bad99ee188d7582a5732d7ee106c022c9775f /src/cmd/rio/error.c
parent52abe8e13010b21ae13d05f1428caca05aa24bdf (diff)
downloadplan9port-0206bd5113e727870d4eb24fbd5f17843745237d.tar.gz
plan9port-0206bd5113e727870d4eb24fbd5f17843745237d.tar.bz2
plan9port-0206bd5113e727870d4eb24fbd5f17843745237d.zip
rio: make full-screen work properly; add showevent
Diffstat (limited to 'src/cmd/rio/error.c')
-rw-r--r--src/cmd/rio/error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/rio/error.c b/src/cmd/rio/error.c
index 358a36a5..fa2493f3 100644
--- a/src/cmd/rio/error.c
+++ b/src/cmd/rio/error.c
@@ -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);