D-Programming-Deimos/libX11 — pull request #13 by andrea9940 (2013-02-24 10:17:50+00:00)
Title: Fixed references and added an example

Some functions in Xlib.d are written using "ref Display" as parameter, this leads to some hassle because most X functions use Display*

Before:
Display *dpy = XOpenDisplay(null);
Window wnd = DefaultRootWindow(*dpy);

After (same as C):
Display *dpy = XOpenDisplay(null);
Window wnd = DefaultRootWindow(dpy);