Blitzmax 1.39 on linux

Archives Forums/BlitzMax Bug Reports/Blitzmax 1.39 on linux

ingenius(Posted 2010) [#1]
Problems again ... My aplicaion are using dual monitors, and when I try to run my application on the second monitor I get the following error

X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 78 (X_CreateColorMap)
Serial number of failed request: 25
Current serial number in output stream: 27

I'm using ubuntu 9.10 and The only thing I have found is the following.

http://fixunix.com/motif/94213-motif-programming-help.html

I'm finish a project and need this resolved asap please.

Regards


SebHoll(Posted 2010) [#2]
Is this in the bug bin intentionally?

To help narrow this down, can you tell me....

a) What color depth / resolution each monitor is?
b) Does the CreateWindow() example also crash on the second monitor?
c) Does the RedrawGadget() examples also crash on the second monitor?

Thanks


ingenius(Posted 2010) [#3]
Seb


A) Its simple, at this point of the code I get the error

Graphics 1280, 960, 0, 60

B / C) I dont have MaxGui, but MaxIde works fine on both monitors

Regards
Mariano

P.D: http://twitpic.com/21oacy


SebHoll(Posted 2010) [#4]
In that case, it's a little out of my jurisdiction.

Maybe try replacing line 275 of BRL.GLGraphics' glgraphics.linux.c with:

swa.colormap=XCreateColormap(xdisplay,RootWindow(xdisplay,xscreen),vizinfo->visual,AllocNone);
Then line 305 with...

swa.colormap=XCreateColormap(xdisplay,RootWindow(xdisplay,xscreen),vizinfo->visual,AllocNone);
...and then build modules.


ingenius(Posted 2010) [#5]
Seb,

Fixed!!!! :)

Im happy, I will send you pics of the presentation of the slot to publish in the website

P.D. My english sucks sorry :)