summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2011-07-28 17:46:35 -0400
committerEamon Walsh <ewalsh@tycho.nsa.gov>2011-07-28 17:46:35 -0400
commit8158ff1421d53285d721043d1323eff77025a289 (patch)
tree64a714b7906026a99e74feafa8f3bcebd69649fc
parent9f892f9b16a7316d8b0f4385ccbb3498f4f4c8e8 (diff)
Make "bogus update clipped" message more informative.
-rw-r--r--src/xenfb_server.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xenfb_server.c b/src/xenfb_server.c
index 1cff7d2..53754db 100644
--- a/src/xenfb_server.c
+++ b/src/xenfb_server.c
@@ -560,7 +560,9 @@ static void xenfb_handle_events(struct XenFB *xenfb)
y != event->update.y ||
w != event->update.width ||
h != event->update.height) {
- XEN_BE_LOG(&xenfb->c.xendev, 1, "bogus update clipped\n");
+ XEN_BE_LOG(&xenfb->c.xendev, 1, "bogus update of (%d,%d,%d,%d) clipped to (%d,%d,%d,%d)\n",
+ event->update.x, event->update.y, event->update.width, event->update.height,
+ x,y,w,h);
}
if (w == xenfb->width && h > xenfb->height / 2) {
/* scroll detector: updated more than 50% of the lines,