Comment 13 for bug 336721

Revision history for this message
TJ (tj) wrote :

I found and built a 'simple' "Hello World" application from

http://www.paulgriffiths.net/program/c/srcs/helloxsrc.html

and adapted it to report the screen number obtained and used with:

screen_num = DefaultScreen(display);
...
XCreateSimpleWindow(display, RootWindow(display, screen_num),
...

and ran it from gnome-terminal's on both screens. It works correctly and reports the correct screen for each.

I'm wondering if the issue is in the Gnome libraries since the programs that have a problem with starting on the wrong screen all seem to be gnome/gtk/gdk specific. For example, VLC will start on the correct screen (it uses qt4).