This is probably not correct, and I need an expert to explain this.
I cannot use draw commands while anything drawn by xlib is on the screen or the xlib-drawn things will go away. The way it looks is as if xlib has it's own screen. So when you use draw commands, it switches back to the graph screen, thus making the xlib screen "disappear".
Am I right? And if so, is there a way around this, as in merging the two screens to have both xlib and draw commands show at the same time?
Post if you need a screenshot
Oh, and sorry if I sound noobish, but I'm testing out xlib for the first time.
I cannot use draw commands while anything drawn by xlib is on the screen or the xlib-drawn things will go away. The way it looks is as if xlib has it's own screen. So when you use draw commands, it switches back to the graph screen, thus making the xlib screen "disappear".
Am I right? And if so, is there a way around this, as in merging the two screens to have both xlib and draw commands show at the same time?
Post if you need a screenshot
Oh, and sorry if I sound noobish, but I'm testing out xlib for the first time.