How to use Wayland with C to make a Linux app
Sergey Bugaev
1

Thank you for your helpful, thoughtful post!

It triggered an entire diatribe, which I then deleted before publishing, about obstructive advice, people saying not to use Xlib or XCB, even saying not to bother learning C, that it’s not relevant. HUH?

If I want to learn how to, for example, paint my car, telling me to go to Maaco to get my car painted is just, well, not even an answer. It’s just a statement based on word association.

I just read in it’s documentation that Cairo has a facility for working with X windows so in my Xlib-XCB program I can call on Cairo to draw stuff I don’t feel like learning about pixmaps and mapped windows, which is pretty neat.

As a hobbyist all I want are straight answers to simple questions.

I found these URLS to be especially super-helpful, and also asking questions at stackoverflow.com often draws straightforward answers to the question asked.

https://tronche.com/gui/x/xlib/

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.