<leon-p>
Hmmm... kinda reconsidering my decision to not keep state in the C lib. If I abstract UI stuff later I'll need to keep some state anyway and the alist in scheme quickly gets unwieldy
<leon-p>
I think I'll add a public state struct as the first member of object structs; Casting a struct pointer into a pointer to its first member is valid according to C99, so this avoid having to use getter-functions
elshize has quit [Ping timeout: 265 seconds]
talismanick has quit [Remote host closed the connection]
Keeto has joined #river
kraem has quit [Remote host closed the connection]
kraem has joined #river
kraem_ has joined #river
kraem has quit [Ping timeout: 260 seconds]
kraem_ is now known as kraem
alexherbo2 has joined #river
coreopen has quit [Ping timeout: 252 seconds]
coreopen has joined #river
gera has quit [Ping timeout: 252 seconds]
gera has joined #river
fleischie has quit [Ping timeout: 252 seconds]
fleischie has joined #river
alexherbo2 has quit [Ping timeout: 240 seconds]
<leon-p>
hitting that (or another) foot crash quite often now
alexherbo2 has joined #river
alexherbo2 has quit [Remote host closed the connection]
mtm has quit [Ping timeout: 252 seconds]
mtm has joined #river
<leon-p>
ifreund: found another bug: after a window is closed, river does not send an update event
alexherbo2 has joined #river
<ifreund>
leon-p: ah I know why that would be the case
<ifreund>
it should only happen if the client exits before being mapped though if Im thinking of the right reason
<ifreund>
I haven't tested yet but I'd bet that patch works
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #river
elshize has joined #river
<leon-p>
ifreund: I dont't think that's the reason here, there is no update event after a mapped window is closed, the window-close event is send properly
<ifreund>
leon-p: I think its fixed now :)
<leon-p>
nice, thanks!
<ifreund>
I'll be travelling today and tomorrow by the way so probably mostly offline
alexherbo2 has quit [Remote host closed the connection]
<leon-p>
save travelling
<leon-p>
I think I have enough protocol coverage to play around for a while :)
<leon-p>
I set myself the challenge to write a WM without tiling and without workspaces/tags that must be at least as comfortable and efficient to use than my current setup
<leon-p>
s/save/safe/ ?
<ifreund>
ja
<ifreund>
I'm curious to try out the WM you come up with!
<szgy>
leon-p: I've been thinking about the same thing for my wm. I realized that using rivercarro, I mostly use the monocle layout and sometimes use workspaces/tags; but there's no logic to how I use them
<szgy>
and in neovim I've come to the realization that to organice file navigation I mostly use a fzy finder; so I'm thinking that my lua wm would mostly expose an api to raise a window given title/app-id (so that it can easily be hooked up to a fuzzy finder)
<szgy>
In that sense, I researched creating a layer shell that acts as a fzy finder (think fzf but graphical). In, like, one day I was able to mostly do it using lua and a library called lua-lgi that basically allows you to bind to any library that support GObject instrospection
<szgy>
which gtk and gtk-layer-shell use. So it was just a matter of installing both with my package manager and using some lua lib that does fuzzy matching to build the thing. Surprised how easy it was
<szgy>
I still may want some very basic tiling mechanism (for splitting in half horizontally and vertically), but not much more
user21 has quit [Remote host closed the connection]