ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor || https://github.com/ifreund/river || channel logs: https://libera.irclog.whitequark.org/river/
hspak04503 has quit [Quit: bye]
hspak04503 has joined #river
Jano[m] has quit [Read error: Connection reset by peer]
sjtio has quit [Read error: Connection reset by peer]
sjtio has joined #river
Jano[m] has joined #river
Misthios8 has joined #river
Misthios has quit [Ping timeout: 264 seconds]
Misthios8 is now known as Misthios
novakane has joined #river
<leon-p> I wonder if perhaps LibinputDevice in zig-wlroots should be exported and public
<leon-p> that way I can have functions expect it as a parameter and do the pointer cast only when passing it to c functions.
<leon-p> although on second though I prefer to @ptrCast only once
novakane has quit [Quit: WeeChat 3.1]
novakane has joined #river
<novakane> ifreund: no more problem in firefox with the last commit :)
<leon-p> the input configuration thing compiles, now I only need to make it work :P
<novakane> nah, compiling is enough :P
<leon-p> I am pretty sure most of it will work already, just some scrolling things are missing and it will only apply to new devices, not already present ones
<leon-p> oh, and everything keyboard related as well as calibration matrices are not there yet either, but that can be added later.
<novakane> well if you're just implement tap-to-click that's enough for me :D
<novakane> can't wait to remove libinput-config hack
<leon-p> tap is implemented.
<leon-p> command will be `riverctl input <input-device-identifier> tap enable`
<novakane> nice!
<ifreund> I should try writing an input-config-v1 protocol
<ifreund> the structure can probably mirror wlr-output-management pretty closely
<ifreund> not input-config-v1, ext-input-management-v1
<ifreund> leon-p: yeah, the single @ptrCast() approach makes the most sense to me
<leon-p> would be the nicer solution, but I am not sure if that protocol would gain a lot of traction
<ifreund> I haven't looked at libinput's API much, would manual bindings be worth it?
<leon-p> no idea
<ifreund> why wouldn't it gain traction? I imagine most wlroots-based compositors would support it if I do a good implementation in wlroots
<leon-p> I think they have something weird going on with having multiple different libinput_device_{type} structs that AFAIAW are never used anywhere, but other than that it's straight forward
<leon-p> ifreund: because whenever that idea was brought up, the general reaction was "why?"
<leon-p> do you intent the protocol to just do libinput stuff or also keyboard configuration?
<ifreund> haven't looked into this in enough detail to be able to answer that
<leon-p> well I still think the protocol is the better approach, but I'd ask over in #sway-devel if there is any interest in it before starting to work on that
sjtio has quit [*.net *.split]
aruhier has quit [*.net *.split]
dnkl has quit [*.net *.split]
sjtio has joined #river
dnkl has joined #river
aruhier has joined #river
waleee has joined #river
waleee has quit [Ping timeout: 268 seconds]
<leon-p> ifreund: https://paste.rs/nDS
<leon-p> that is how I would do it
<leon-p> instead of separating input devices into distinct types, just advertise what capabilities they have
<leon-p> it should support both clients similar to kanshi as well as graphical configuration things
<leon-p> damn, was I tricked into designing another protocol? :D
<novakane> yep you fell right into the trap, time to work on having a commit on wayland :P
snakedye has joined #river
novakane has quit [Quit: WeeChat 3.1]
waleee has joined #river
snakedye has quit [Ping timeout: 245 seconds]
snakedye has joined #river
snakedye has quit [Ping timeout: 264 seconds]
novakane has joined #river
yyp has joined #river
hspak045033 has joined #river
hspak04503 has quit [Ping timeout: 268 seconds]
snakedye has joined #river
novakane has quit [Read error: Connection reset by peer]
novakane has joined #river
hspak045033 has quit [Changing host]
hspak045033 has joined #river
noopdecoder has joined #river
snakedye has quit [Quit: WeeChat 3.1]
noopdecoder has quit [Quit: noopdecoder]
<ifreund> \o/
<ifreund> I have a lot of university work I'm supposed to get done today, I'll take a look sometime early this week though
yyp has quit [Remote host closed the connection]
novakane has quit [Quit: WeeChat 3.1]
waleee has quit [Ping timeout: 272 seconds]
waleee has joined #river
leon-p has quit [Quit: leaving]
leon-p has joined #river
jaafarrc has joined #river
<jaafarrc> Hey, guys.
<ifreund> o7
<jaafarrc> How is the freezing issue?
<ifreund> gone, we have basic damage tracking now
<jaafarrc> Oh, cool.
<jaafarrc> But, I've kinda learned to love Sway now.
<jaafarrc> I don't know how to use Swaybar separately, and Waybar is shit.
<jaafarrc> Well, it's fine.
<jaafarrc> I gotta go, now. Cy'all.
jaafarrc has quit [Quit: Quit]
waleee has quit [Ping timeout: 264 seconds]