Title: Hello HN,<p>While there are some projects that implement partial versions of Xlib APIs on non-X11 platforms for compatibility (most notably, Tk), I don&#x27;t know of any others sophisticated enough to run Cairo and GTK applications (albeit with a few hacks). So I figured this might be technically interesting.<p>As of now it just implements the base Xlib APIs, it doesn&#x27;t implement XRender, GLX, XInput2, etc. (though it&#x27;s more than possible, I just didn&#x27;t see a need yet.) Cross-program interaction is also very limited, and there are plenty of X11 features that likely can&#x27;t be implemented; but this works sufficiently well that GTK3 is now in Haiku&#x27;s default package repositories, with GIMP and Inkscape atop it to boot, using this.<p>And for the fun of it, I did try to compile Xnest (the X.org server variant running on top of Xlib) on top of this; it crashed on startup in the keyboard handlers. However, that could potentially be because I didn&#x27;t have the necessary data files and not because of anything missing in Xlibe; I didn&#x27;t investigate too far (or it could be an actual incompatibility; Xlibe&#x27;s keyboard subsystem is rather primitive and is most of the reason I had to patch GTK for full functionality.)<p>(A few more screenshots, including GTK and WINE running atop Xlibe: <a href="https:&#x2F;&#x2F;www.haiku-os.org&#x2F;blog&#x2F;waddlesplash&#x2F;2022-01-10_haiku_contract_report_december_2021&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.haiku-os.org&#x2F;blog&#x2F;waddlesplash&#x2F;2022-01-10_haiku_...</a>)
Upvote: