[ home / rules / faq / search ] [ overboard / sfw / alt ] [ leftypol / edu / labor / siberia / lgbt / latam / hobby / tech / games / anime / music / draw / AKM ] [ meta ] [ wiki / shop / tv / tiktok / twitter / patreon ] [ GET / ref / marx / booru ]

/tech/ - Technology

"Technology reveals the active relation of man to nature" - Karl Marx
Name
Options
Subject
Comment
Flag
File
Embed
Password(For file deletion.)

In for some red terror?
15% off on selected items with promo code "SPOOKY" at shop.leftypol.org


File: 1761154341724.png (459.65 KB, 1008x720, 1384993837.png)

 

I'm writing a tech demo of an idea I had about alternative GUI programming techniques. so far I had been using xcb and everything is going fine and the idea is working but I was thinking about adding wayland support before releasing the code. I know wayland has a compatibility layer with x11 but considering I'm not doing anything crazy, mostly just drawing rectangles and text, and handling events, I thought "how hard could it be to add native support with a few ifdefs here and there". however, it doesn't seem like there is much documentation on how to write applications for wayland, and most places just tell you to use gtk or kde or some other high-level framework

tl;dr my question is, is there something like this official xcb tutorial but for whatever the wayland equivalent of xcb is?
https://www.x.org/releases/X11R7.7-RC1/doc/libxcb/tutorial/index.html


>>31601
huh, apparently it doesn't have drawing commands like x11, you just render client-side. I guess I will just use cairo then
but man it feels like a regression, as antiquated as it was, I liked that, in theory, you could use pure x11 programs through a network and the remote application would just send you the drawing commands to be rasterized locally

>>31602
It is pretty good, even locally if you're running a browser in a chroot or container like myself.

It's because wayland is garbage, put it in the bin.


Unique IPs: 2

[Return][Go to top] [Catalog] | [Home][Post a Reply]
Delete Post [ ]
[ home / rules / faq / search ] [ overboard / sfw / alt ] [ leftypol / edu / labor / siberia / lgbt / latam / hobby / tech / games / anime / music / draw / AKM ] [ meta ] [ wiki / shop / tv / tiktok / twitter / patreon ] [ GET / ref / marx / booru ]