22

Last post published was setting up Anubis (the bot protection) because I felt that documentation was lacking. This time I am publishing a "getting started" on Wayland for the same reason.

This guide is about programming a client application showing a window. It is coded in C++ but very close to C so hopefully anyone can read it and implement on their own.

If you find it nice please share the word around, this could help me a lot.

I feel their is not enough in-depth explanation of the whole protocol and there are some crazy caveats (like the most known article this is inspired from would not work on big-endian machine). This took me a lot of time to write and make a "simple" code to test (800 lines file).

top 5 comments
sorted by: hot top new old
[-] Hugh@programming.dev 2 points 2 weeks ago

The page is a bit narrow on mobile

[-] AYO_Official@lemmy.ml 2 points 2 weeks ago
[-] Hugh@programming.dev 2 points 2 weeks ago

๐Ÿ‘ much better

[-] abbadon420@sh.itjust.works 1 points 2 weeks ago

You're installing wayland on mobile?

[-] AYO_Official@lemmy.ml 2 points 2 weeks ago

You're getting it wrong this is probably a problem about reading the post from mobile. My previous posts were not that packed with code so it wasn't a big issue but I updated the CSS so it is way more comfortable to read now.

this post was submitted on 26 Sep 2026
22 points (95.8% liked)

Programming

28786 readers
126 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS