Kevin Ryde wrote:
I think gdk_display_open accepts NULL, to mean use the DISPLAY environment variable (the same as XOpenDisplay), though the docs don't seem to say so explicitly.
gdk_display_open passes the string directly to XOpenDisplay without looking at it, so yeah, it inherits the NULL-behavior. Committed with a test case. Thanks!
-- -Torsten