http://bugs.winehq.org/show_bug.cgi?id=5161
------- Additional Comments From molle.bestefich@gmail.com 2006-04-05 07:37 ------- Added debug fprintf's to xorg-server/dix/dispatch.c:
--- dispatch.c.orig +++ dispatch.c @@ -1483,2 +1483,3 @@ client->errorValue = 0; + fprintf(stderr, "failed width: %d, or height: %d", stuff->width, stuff->height); return BadValue; @@ -1509,2 +1510,3 @@ client->errorValue = stuff->depth; + fprintf(stderr, "failed depth: %d", stuff->depth); return BadValue;
Those produced the following output:
failed width: 0, or height: 0 failed width: 20, or height: 0 failed width: 20, or height: 0 failed width: 6, or height: 0 failed width: 0, or height: 0 failed width: 0, or height: 19 failed width: 0, or height: 19 failed width: 0, or height: 0 failed width: 20, or height: 0 failed width: 19, or height: 0 failed width: 0, or height: 0 failed width: 0, or height: 19 failed width: 0, or height: 19 failed width: 0, or height: 0 failed width: 20, or height: 0 failed width: 20, or height: 0 failed width: 15, or height: 0 failed width: 0, or height: 0 failed width: 0, or height: 19 failed width: 0, or height: 19 failed width: 0, or height: 0 failed width: 20, or height: 0 failed width: 18, or height: 0 failed width: 0, or height: 0 failed width: 0, or height: 19 failed width: 0, or height: 19
I'm unable to synchronize the above with the trace output from Wine, though. (Had this been on Windows, I would've just used OutputDebugString and DebugView and be done with it..)
A reasonable assumption would be that the last BadValue failure corresponds to the one that's making X give up on Trillian.
The values seem completely off, though...