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/
crabbedhaloablut has quit [Ping timeout: 244 seconds]
crabbedhaloablut has joined #river
leon-p has quit [Quit: leaving]
tmpm697 has joined #river
tmpm697 has quit [Client Quit]
tmpm697 has joined #river
novakane has joined #river
yyp has joined #river
tsujp has joined #river
<tsujp> ifreund im trying to build river on void from your draft PR but getting `ninja: error loading build.ninja no such file or directory'
<tsujp> i think the build-style might be incorrect, its set to use cmake instead of zig-build?
anubhavkini has joined #river
<tsujp> whoops dw thats the zig template
<tsujp> okay so this is a zig build problem..
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #river
<dnkl> ifreund: leon-p: I've updated the foot PR (for the CSD/SSD bug). It now assumes there will be an xdg-surface configure event following the decoration configure event, and applies the CSD/SSD change at that point.
<dnkl> this appears to fix all CSD/SSD issues on Sway
<dnkl> re. the number of sub-surfaces: there are 4 invisible ones, for drag-to-resize. The titlebar (which is actually title-less) is the fifth. Then I got lazy, and implemented the minimize/maximize/close buttons using sub-surfaces. So that's 8 in total.
<dnkl> we don't _need_ sub-surfaces for the buttons, but it makes it so much easier to implement the button hover effects, and click-detection.
dbuckley has quit [Read error: Connection reset by peer]
dbuckley has joined #river
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #river
josip has quit [Remote host closed the connection]
josip has joined #river
novakane has quit [Quit: WeeChat 3.2]
<ifreund> tsujp: not much I can do to help without seeing error messages...
<ifreund> you may be interested in this PR adding a zig-build xbps build style https://github.com/void-linux/void-packages/pull/29288
leon-p has joined #river
novakane has joined #river
leon-p has quit [Quit: leaving]
leon-p has joined #river
leon-p has quit [Client Quit]
leon-p has joined #river
waleee has joined #river
<ifreund> dnkl: Just confirmd that your foot PR fixes the xdg_surface geometry size change when csd state is updated on river
<dnkl> ifreund: great, thanks for testing!
yyp has quit [Ping timeout: 268 seconds]
<ifreund> wlroots 0.14.0 is released, time to break CI again
<ifreund> Or maybe I'll stop being lazy and start building wlroots from source
<emersion> please do :^)
<leon-p> ifreund: since xdg-activation is now in wlroots, do we want to have it in river 0.1.0 ?
<leon-p> if yes, its behaviour should be consistent with the xdg foreign toplevel activation request
<ifreund> leon-p: I'm not going to block river 0.1.0 on it, I just want to fix the bugs and cut a release
<ifreund> we can do an 0.1.1 fairly soon adding more features if it makes sense
<leon-p> makes sense
<ifreund> and now that wlroots 0.14.0 has released, I think we should do river 0.1.0 asap
<leon-p> agreed.
<leon-p> I think I can solve #337 and another bug related to it today
<ifreund> nice!
<ifreund> I'll be taking a look at #329 after I bump the wlroots version
<leon-p> #337 is actually somewhat nasty. Cursor code totally ignores that the output or tag focus can change, even during an operation.
yyp has joined #river
<ifreund> so what, we need some Cursor.resetState() function that we call when changing outupt/tag focus which handles things?
<leon-p> exactly
<leon-p> although I'll have to redesign some things since most functions in Cursor.zig take events.
yyp has quit [Ping timeout: 250 seconds]
yyp has joined #river
<novakane> ifreund: have you decided for unstable/staging btw?
<ifreund> novakane: I'm not going to break waybar
<ifreund> next time we do a breaking change to the current protocols using the old naming scheme we can switch to the new one
<ifreund> got wlroots building from source in the CI, wasn't too bad really :D
<ifreund> when then next zig version releases we can switch to using the static zig tarballs in the CI too
<ifreund> and then CI should never break again
<novakane> makes sense
<novakane> > and then CI should never break again
<novakane> sure... :P
DarthRasengan is now known as travankor
<ifreund> someone should add musl CI runs
<ifreund> I don't know if github actions can do freebsd, but that would be nice too
<novakane> looks like so
<leon-p> ifreund: we could also use sourcehutes CI if githubs does not work.
<novakane> leon-p: he'll need to pay for that no?
<leon-p> I have a paid account, we could use that
<novakane> oh allright then let the boss decide :P
<leon-p> Was just an idea in case GH does not support FreeBSD CI, since I know sourcehut does support it.
<leon-p> submitted a draft PR. Not sure if it is the right approach, but it does fix the cursor image problem.
<leon-p> the problem is leaving .down state, because for notifying the client we'd need an event.
<leon-p> But I am tempted to just not notify the client. That would match the behaviour of basically every desktop and operating system I ever used.
<ifreund> Not notifying the client might be totally fine, I wonder what other compositors do
tmpm697 has quit [Remote host closed the connection]
emersion has quit [Remote host closed the connection]
emersion has joined #river
emersion has quit [Remote host closed the connection]
<leon-p> huh, I think when the layout changes, the update to the cursor state is false
<leon-p> it probably uses the wrong coordinates.
<leon-p> I have the feeling we might need to update the cursor state on every transaction
emersion has joined #river
elshize has quit [Ping timeout: 265 seconds]
yyp has quit [Remote host closed the connection]
yyp has joined #river
<skuzzymiglet1> ifreund: I think foot in the void repos needs updating from 1.7.2 to 2.4.1
<ifreund> skuzzymiglet1: are you talking about the revbumping foot for the fcft update? that shouldn't be needed. fcft 2.4 is ABI compatible with 2.3 afaik, and the soversion didn't change
<ifreund> (and it works for me)
<skuzzymiglet1> oh, confused foot and fcft release pages :)
<dnkl> skuzzymiglet1: ifreund: patience, I'll release 1.8 any day now :)
<skuzzymiglet1> :D
yyp has quit [Remote host closed the connection]
yyp has joined #river
yyp has quit [Remote host closed the connection]
novakane has quit [Quit: WeeChat 3.2]
waleee has quit [Ping timeout: 268 seconds]
waleee has joined #river
waleee has quit [Ping timeout: 250 seconds]