ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor || https://github.com/riverwm/river || channel logs: https://libera.irclog.whitequark.org/river/
jao has quit [Remote host closed the connection]
jao has joined #river
jao has quit [Ping timeout: 246 seconds]
waleee has quit [Ping timeout: 245 seconds]
eShaev9z_ has quit [Ping timeout: 246 seconds]
eShaev9z has joined #river
ayushnix has joined #river
ayushnix has quit [Changing host]
ayushnix has joined #river
ayushnix has quit [Remote host closed the connection]
ayushnix has joined #river
angry_vincent has joined #river
ayushnix has quit [Ping timeout: 246 seconds]
haliucinas has quit [Quit: .]
haliucinas has joined #river
linkert has joined #river
aryak_ has quit [Ping timeout: 245 seconds]
Ordoviz has joined #river
leopoldek has quit [Ping timeout: 258 seconds]
ayushnix has joined #river
kotto has joined #river
linkert has quit [Quit: linkert]
ayushnix has quit [Remote host closed the connection]
ayushnix has joined #river
ayushnix has quit [Remote host closed the connection]
ayushnix has joined #river
jao has joined #river
ayushnix has quit [Remote host closed the connection]
ayushnix has joined #river
Ordoviz has quit [Ping timeout: 246 seconds]
Ordoviz has joined #river
tiosgz has joined #river
<tiosgz> is there a reason for Root.outputs to have the Output as value, not reference?
<tiosgz> seems like not even Root.all_outputs should behave like that, but there *Output is used
<tiosgz> so ig the inexplicable behaviour might come from this
<tiosgz> what surprises me it's from 2020 or earlier and still alive
<tiosgz> ah nope it can't be before 2020
leopoldek has joined #river
leopoldek has quit [Ping timeout: 246 seconds]
Guest24 has joined #river
Guest24 has quit [Client Quit]
<tiosgz> hmm, taking that back, as the Node is allocated with the Output embedded in it
<tiosgz> my question remains though
prma has joined #river
prma has quit [Quit: Client closed]
prma has joined #river
<prma> Hey all. I have been using river for more than a year at this point. And recently I have been learning zig. I would like to eventually start contributing to river. However I lack technical knowledge about how wayland works or how river works under the covers. Are there any starting points that you could point me towards to help me get on board?
Axenntio has joined #river
prma has quit [Quit: Client closed]
prma has joined #river
Axenntio has quit [Ping timeout: 244 seconds]
prma has quit [Quit: Client closed]
prma has joined #river
<ifreund> tiosgz: there's no strong reason, the memory is pinned and has to live somewhere so might as well save an allocation and toss it together with the list node.
<ifreund> our problems here might stem from the fact that we only have a single outputs list but should in fact have Root.pending.outputs, Root.current.outputs and whatnot
<tiosgz> would it be better to swap types of Root.outputs and Root.all_outputs as a start? i don't think it would fix anything, but it's less confusing at least
prma has quit [Ping timeout: 246 seconds]
<ifreund> prma: there's some good general wayland information here: https://wayland.freedesktop.org/ and here: https://wayland-book.com/
<tiosgz> i'll keep that {pending,current}.outputs in mind while debugging, anyway. didn't think of it before
notzmv has joined #river
<ifreund> tiosgz: I think the most clear solution would be make Root.output and Root.all_output both intrusive lists (using wl.list)
<ifreund> which would also require only a single allocation per Output to add in to the necessary lists instead of two
<tiosgz> erm, sorry, what's intrusive?
<ifreund> tiosgz: the linked list points are part of the Output struct
<ifreund> see e.g. View.pending_focus_stack_link
<ifreund> s/points/pointers/
<tiosgz> ah thanks. dictionary didn't help haha
<ifreund> no problem!
<tiosgz> i'll see where i get
<ifreund> good luck!
<tiosgz> thanks!
tiosgz has quit [Quit: tiosgz]
angry_vincent has quit [Remote host closed the connection]
Ordoviz has quit [Quit: WeeChat 4.0.2]
prma has joined #river
<prma> ifreund: thank you very much for the suggestions and your great work.
prma has quit [Quit: Client closed]
notzmv has quit [Read error: Connection reset by peer]
notzmv has joined #river
<ifreund> no problem! feel free to ask questions here if you get stuck :)
leopoldek has joined #river
waleee has joined #river