How to use Wayland with C to make a Linux app

Sergey Bugaev
1 min readAug 25, 2016

--

As it turns out, someone discovered my latest post here, How to easily determine if an app runs on XWayland or on Wayland natively via a Bing search page for “how to use wayland with c to make a linux app”. I’ve never had a high opinion on Bing search quality, but my post showing up as the first, most relevant response to the query is just… weird (the issue is already fixed, but it really was this way).

Preferring Google search myself, I googled the thing. So, here are the really relevant links about the subject:

Now, that’s all cool and useful only if you really want to understand the details of Wayland. If you simply want your app to run on Wayland, there is an easier way. Pick a toolkit that supports Wayland — the most popular two are GTK+ and Qt — and built your app with it. It’ll work with Linux and Wayland natively and beautifully.

Hopefully, if anyone ever decides to search the web for the subject once again, they’ll come across this post and not the previous one. Just saying.

--

--