GNOME Bugzilla – Bug 497727
gdk_spawn_on_screen ignores the screen parameter
Last modified: 2010-12-22 19:01:40 UTC
Please describe the problem:
gdk_spawn_on_screen ignores the screen parameter if envp contains a DISPLAY variable. In this case, the application is shown on the screen described by DISPLAY.
I understand this behavior but the current documentation of GDK says:
"the child process is spawned in such an environment that on calling gdk_display_open() it would be returned a GdkDisplay with screen as the default screen". Therefore I expect the launched application to be started on the required screen regardless of the presence of a DISPLAY variable with a different value in envp.
Steps to reproduce:
Does this happen every time?
The gdk_spawn api is gone.