<novakane>
that's kind of a Wayland problem to have some things stabilized too soon, backwards compatibility is not always a good idea
<plumeus>
idek why libwayland can't break compatibility. It's a library, not even the spec
<ifreund>
plumeus: there was some shitty GTK or GNOME related reason people didn't want libwayland to fix that iirc
<plumeus>
sounds great...
<plumeus>
I'm currently reading the Wayland book in the hopes that I can use that knowledge to help implment the input method protocol.
<plumeus>
Anything else I ought to read as a complete beginner to Wayland?
<plumeus>
I know Zig and that's about it. I don't even know that much C but I would think that's fine.
<ifreund>
I think reading section 4 here is a good idea, though you don't need to concern yourself with details like how IDs are allocated it should help make sense of the protocol xml
<plumeus>
looking at the table of contents, I probably want to read a bit about the seat if it involves input handling.
<ifreund>
otherwise just reading the xml of the protocols you want to implement and enough of the related wlroots and river code should be all you need
<ifreund>
yeah, you probably need to understand keyboard input handling and how wlroots/river implement it quite well to implement input-method/text-input
<plumeus>
I wonder if Zig 0.11's package manager will be mature enough that River can say farewell to Git submodules.
<plumeus>
Oh, btw, why did the PR I mention add text-input-handling and how does it differ from input_method? I'll try to read both.
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #river
<novakane>
plumeus: you can't use imput method without text input, the protocols xml explains how it works together iirc
<plumeus>
ah, okay
<novakane>
fwiw the PR you saw, at this time everything on the imput_method and text_input protocol was relatively good, the problem was the keyboard part
<plumeus>
yeah
<plumeus>
I recall you saying the main issue is the keyboard grab.
<novakane>
note that the input protocol has changed a lot since then though
<plumeus>
oh, okay
<plumeus>
the PR says text-input-unstable-v3 and the latest one says the same, how did it "change a lot"?
<plumeus>
I really don't get how this works
<novakane>
hmm I remember there was a lot of change coming but I haven't really followed closely after
<novakane>
unless it's in wlroots
<plumeus>
well, if the protocol itself doesn't change, what else can? The implementation? I would think that shouldn't be a big deal.
<novakane>
yeah I can't seem to find anything, maybe it has never been merged to master
<plumeus>
hmm, I wonder if I should brush up my knowledge on Unix sockets too.
<plumeus>
It seems to come up a few times. Not sure how necessary it is.
<novakane>
probably not really needed
<novakane>
mostly you need to understand how events/requests work, i.e how client and server talk
<novakane>
and after it's mostly understand how river implements those things
<plumeus>
I also wanted to try writing my own input method editor for fun, so I'll probably get some practice to that end.
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #river
<novakane>
that's sounds like a painful practice too me :P
alexherbo2 has quit [Remote host closed the connection]
<novakane>
to*
<plumeus>
I was interested in software stenography and I wanted to try writing that. It should be simpler than say, implementing a CJK library from scratch.
<novakane>
sure, it just that I don't need IME and only did a lot of research for the PR and I feel like it was really a shit show lol
<plumeus>
How terrifying
<plumeus>
I kind of need to type Japanese but 99% of the time, I just need it for Firefox and it supports it out of the box so I'm fine.
waleee has quit [Quit: WeeChat 3.8]
<novakane>
yeah I guess that's a good point for gtk
<plumeus>
A bit problematic now that I switched my mail client from Thunderbird to Aerc.
<plumeus>
I've also switched my Matrix client (which I use to bridge to IRC) to a CLI one called Gomuks
<plumeus>
Now I just need to switch to gemini and say bye to browsers /s
<plumeus>
I wish I could switch to gemini and have life work like that
waleee has joined #river
<novakane>
yeah you're gonna need to wait some decades before using only gemini though :P
leopoldek has quit [Ping timeout: 248 seconds]
<plumeus>
I doubt that it'll ever happen
Szadek has joined #river
<plumeus>
Switching to only FOSS software (at least in userspace, need blobs) was a tough transition but quitting http sounds much harder.
<novakane>
yep, unfortunately I don't think any competition will come close
<plumeus>
I really like Gemini though. I think I could make a switch for most use-cases if Wikipedia and web frontend for git repos could be ported over.
waleee has quit [Ping timeout: 268 seconds]
leopoldek has joined #river
waleee has joined #river
alexherbo2 has quit [Remote host closed the connection]