Login
You're viewing the techdon.dev public feed.
  • Aug 13, 2026, 10:33 AM

    I'm really itching to read the discussion around that part of the protocol, it surely will be spicy, as usual.

    However, I don't have time for that right now, because I'm at day 3 of reimplementing a wl_display_dispatch() loop into something that will allow me to hook a custom timer to the poll wait.

    💬 1🔄 0⭐ 0

Replies

  • Aug 13, 2026, 10:37 AM

    There's an example for it in the docs, but error handling is left for the reader. And when you actually go through the spec and man pages to see all the obscure edge cases that you should handle, because otherwise you have all these small hidden races...

    I mean, the expectation is that everyone implements this on their own. Or I don't know, use gtk or qt, because who would use the raw protocol, am I right?

    No matter how you try to think about this no good things come out.

    💬 1🔄 0⭐ 1
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 2