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).

-- 
Multiple X screens launch apps on screen 0
https://bugs.launchpad.net/bugs/336721
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to