http://bugs.winehq.org/show_bug.cgi?id=2989
------- Additional Comments From hurtta+wine2@leija.mh.fmi.fi 2006-06-04 01:17 -------
Sounds like a bug in one of the system libraries, like openGL or xf86dga. Wine itself uses the correct display since you get the winecfg window.
Either that or something missing what is needed to pass correct window to library. Not easy to test.