<novakane>
ifreund: I working on text_input/input_method and I need to check if a [*:0]u8 is empty should I change in the bindingd that it return an optional or is there a better way?
<ifreund>
novakane: empty isn't the same as null, so no you shouldn't change the binding to return an optional
<ifreund>
just check std.mem.span(foo).len == 0
<novakane>
ifreund: ah right thank you!
snakedye has joined #river
notzmv has joined #river
yyp has quit [Read error: Connection reset by peer]
yyp has joined #river
<dnkl>
novakane: oh, yet another exiting feature! Looking forward to that one too!
<novakane>
dnkl: probably gonna take more time for this one, what are you using it for? I started working on it because I find it interesting but I don't really have any use case to test it
<dnkl>
novakane: foot supports it. In addition to supporting other languages, some IMEs provide support for entering Unicode characters and/or emojis.
<novakane>
dnkl: ok thanks I'll search for some charaters to try then
novakane has quit [Quit: WeeChat 3.2]
<ifreund>
hmm, inserting unicode characters and emojis sounds useful
xd1le has quit [Quit: xd1le]
<dnkl>
ifreund: it's something I _wanted_ to use in Sway, but its usefulness was limited due to Sway not implementing IME popups. That plus pre-edit not working with fcitx5 meant you were typing blindly :/
Guest49 has joined #river
<emersion>
an issue is that input-method has a semi-broken design for popups
Guest49 has quit [Quit: Client closed]
Guest73 has joined #river
<travankor>
has anyone used river with the pixman backend?
<travankor>
curious if there were any issues
<ifreund>
travankor: seems to work fine in a nested session at least
waleee has joined #river
Guest73 has quit [Ping timeout: 246 seconds]
novakane has joined #river
<travankor>
seems like it works allright from a tty as well
<travankor>
cpu usage is high but that's expected
<travankor>
a bit slow but I didn't test it extensively
<wrl>
ifreund: so, currently if move-view is run on any view, it's automatically promoted (demoted?) to a floating view. in dwm, this doesn't happen on move, but *does* happen on resize
<wrl>
i've become pretty used to how dwm does it, and i think it'd be a pretty trivial change to make river behave the same way
<wrl>
would you accept a PR that does that, or would you prefer one that adds it as a configuration option?
Guest3673 has joined #river
Guest3673 has quit [Quit: Client closed]
snakedye has quit [Ping timeout: 240 seconds]
snakedye has joined #river
waleee has quit [Quit: WeeChat 3.2]
waleee has joined #river
leon-p has joined #river
<leon-p>
wrl: what's the use case? river is not supposed to be a 1:1 dwm clone and TBH I think floating a window on move and resize makes more sense than just arbitrarily only on one of the two.
<wrl>
leon-p: i accidentally mod-click on windows all the time
<wrl>
:P
<wrl>
and then there's no indication that the window has become floating
<leon-p>
the obvious solution is to get rid of your mouse
<leon-p>
but I still think that behaviour is correct. Usually when someone mod-clicks a window, they mean it
<leon-p>
you can of-course remove that mapping from your init entirely
<leon-p>
you can also map moving views to mod and middle click, that is probably less likely ot be accidentally triggered
<ifreund>
wrl: I don't think having a view remain part of the layout while not being arranged by the layout makes any sense
novakane has quit [Quit: WeeChat 3.2]
novakane has joined #river
snakedye has quit [Ping timeout: 250 seconds]
novakane has quit [Quit: WeeChat 3.2]
dagle has quit [Ping timeout: 240 seconds]
dagle has joined #river
<Nulo>
I notice that randomly, some windows stop taking keyboard input. Re-focusing them or changing tags always fixes it