Re: Gtk2::Gdk::Display->open and undef



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]