<illiliti>
i would put assert here or smth to make sure it's newline
<noocsharp>
tbh i'm probably gonna abandon this and just write a new one
<illiliti>
yeah
<noocsharp>
i feel like it's much easier to get error checking right if you're diligent about it from the beginning than shoehorning it into a project that didn't pay attention to it
<illiliti>
my thoughts exactly
<illiliti>
no wonder why wl-clipboard is too buggy. i use fg/bg instead of tmux and sometimes if i copy something it can cause deadlock
<illiliti>
i have no choice but to kill -9
nickly has joined #kisslinux
nickly has quit [Client Quit]
nickly has joined #kisslinux
<testuser[m]>
Hi
<noocsharp>
\o/
<testuser[m]>
<illiliti> "ssize_t" <- Bruh
<testuser[m]>
It's gonna explode if a signal is received
nickly has quit [Ping timeout: 256 seconds]
<testuser[m]>
typedef char * const *argv_t
<testuser[m]>
Cursed
<illiliti>
signals are bug by definition btw
<illiliti>
we need signal-free versions of functions
<illiliti>
see close() EINTR fallout
<testuser[m]>
I write a wrapper for them with a loop to check errno for eintr
<dilyn>
no segfaults or anything; wayfire launches just fine
<dilyn>
just no input, not a permission problem afaik
<illiliti>
hmm
<dilyn>
I can try to nab some logs from wayfire later to see what's up
<dilyn>
but for now, pizza and reacher time :v
<dilyn>
most of this work will probably be rendered irrelevant once wayfire is updated to latest wlroots anyways; wayfire itself doesn't actually use any libudev stuff
<dilyn>
well that may or may not be true; I suppose I'd have to see how it's using wlroots
<illiliti>
git grep udev
illiliti has quit [Quit: leaving]
illiliti has joined #kisslinux
ejjdhfjsu has quit [Ping timeout: 256 seconds]
illiliti has quit [Ping timeout: 240 seconds]
illiliti has joined #kisslinux
ella-0 has joined #kisslinux
phoebos has quit [Ping timeout: 256 seconds]
phoebos has joined #kisslinux
acheam has quit [Ping timeout: 240 seconds]
akspecs has quit [Ping timeout: 240 seconds]
_ctb has quit [Read error: Connection reset by peer]
akspecs has joined #kisslinux
acheam has joined #kisslinux
_ctb has joined #kisslinux
<phinxy>
Why do you prefer ISC license for libs?
<illiliti>
permissive, allows static link unlike gpl
soliwilos has joined #kisslinux
ehawkvu[m] has quit [Ping timeout: 240 seconds]
ehawkvu[m] has joined #kisslinux
ehawkvu[m] has quit [Read error: Connection reset by peer]
ehawkvu[m] has joined #kisslinux
Rohan has joined #kisslinux
ejjdhfjsu has joined #kisslinux
mahmutov_ has joined #kisslinux
mahmutov_ is now known as mahmutov
an3223 has quit [Remote host closed the connection]
acheam has quit [Remote host closed the connection]
akspecs has quit [Remote host closed the connection]
acheam has joined #kisslinux
_ctb has joined #kisslinux
mcpcpc_on_kirc has joined #kisslinux
akspecs has joined #kisslinux
<dilyn>
illiliti: `git grep udev` only reveals a single CI workflow :o hmhmhm
<illiliti>
good
<illiliti>
dilyn: does sway work with libdemi btw?
<dilyn>
no idea, never tried!
<dilyn>
I am not a super big fan of tiling wms nowadays :\
<illiliti>
no input devices means there's a possible bug in my libinput patch or libdemi
<illiliti>
you can help me catch one
<dilyn>
i agree
<dilyn>
wayfire has several debugging options; I'll collect them independently and send 'em your way
<illiliti>
that would be awesome
<dilyn>
so I'll be back after a few reboots haha
dilyn has quit [Quit: Connection closed]
<noocsharp>
illiliti: thanks, that's much easier to read than the wayland headers
<noocsharp>
seems like command line copy and paste isn't possible with the core wayland protocol, since only the window with keyboard focus can copy things
<noocsharp>
so wlr-data-control it is
acheam has quit [Remote host closed the connection]
_ctb has quit [Remote host closed the connection]
akspecs has quit [Remote host closed the connection]
<dilyn>
Biggest difference between first and second is device enumeration actually happens when it works; libinput is 'initialized' in the first, but no enumeration happens. I don't think there's a way to increase verbosity
<dilyn>
places of interest in wayfire code may be src/core/seat/seat.cpp
<illiliti>
it happends randomly, right?
<dilyn>
jk that code isn't actually that interesting
<dilyn>
what do you mean it happens randomly?
<dilyn>
it happens every time I start wayfire. no input, regardless of how long I wait
<illiliti>
how did you get working input then
<dilyn>
oh i rebuilt everything against libudev-zero lmao
<illiliti>
ah
<illiliti>
sounds like a bug tbh
<dilyn>
mhm
<illiliti>
post output of: ls -la /dev/input
<dilyn>
it's what you would expect
<dilyn>
root:input 660
<dilyn>
all the devices i would expect to exist are there
<dilyn>
do you still want to maintain it, just under the umbrella of the org?
<dilyn>
I think to transfer the repo you just need to be a member and that can be arranged
mahmutov has quit [Ping timeout: 272 seconds]
mahmutov has joined #kisslinux
<noocsharp>
i wrote a 100 line program that lets you paste a fixed string in wlroots
<noocsharp>
how is wl-clipboard possibly 1800 lines
<testuser[m]>
Show
<illiliti>
under umbrella, indeed. i also want to revisit and modernize it a bit
<dilyn>
for sure. I'll send the invite now, feel free to transfer it!
<dilyn>
built latest libdemi/libinput/wlroots/sway from kiss-libdemi; will reboot and see. Though I've rarely had luck running sway with input being detected at all, so I might not be the best tester lmao