On Mon, 12 Nov 2001, geschrader wrote:
Your reasoning makes sense but with your patch I get the following error:
X Error of failed request: XF86DGADirectNotActivated Major opcode of failed request: 138 (XFree86-DGA) Minor opcode of failed request: 26 (XDGACreateColormap) Serial number of failed request: 3691 Current serial number in output stream: 3951
I'm not sure how to interpret this. Documentation for DGA seems to be pretty non-existant. Is this complaining that the CreateColormap failed because DGA wasn't activated or that DGA wasn't activated because of the colormap failure?
It's probably the former. I'm guessing that you need to create the colormap on the same display that XDGAOpenFrameBuffer and XDGASetMode was done on (those are currently done on thread_display(), you'll probably have to change them too, then?)