ChanServ changed the topic of #river to: river - a dynamic tiling Wayland compositor || https://codeberg.org/river/river || channel logs: https://libera.irclog.whitequark.org/river/
Guest58 has joined #river
Guest58 has quit [Client Quit]
talismanick has joined #river
talisman` has joined #river
talisman` has quit [Remote host closed the connection]
stefur has quit [Read error: Connection reset by peer]
aryak has quit [Ping timeout: 264 seconds]
hspak has quit [Quit: Ping timeout (120 seconds)]
hspak has joined #river
mx08 has quit [Quit: WeeChat 3.8]
waleee has quit [Quit: WeeChat 4.1.2]
mx08 has joined #river
aryak has joined #river
eShaev9z_ has joined #river
eShaev9z has quit [Ping timeout: 268 seconds]
catman has quit [Quit: WeeChat 4.3.0-dev]
catman has joined #river
catman has quit [Quit: WeeChat 4.3.0-dev]
catman has joined #river
aryak has quit [Ping timeout: 255 seconds]
aryak has joined #river
kaisan has joined #river
leopoldek has quit [Remote host closed the connection]
ccha has quit [Quit: WeeChat 4.2.2]
ccha has joined #river
talismanick has quit [Ping timeout: 245 seconds]
hmht has joined #river
aryak has quit [Ping timeout: 272 seconds]
aryak has joined #river
aryak has quit [Remote host closed the connection]
aryak has joined #river
lordmzte0 has joined #river
lordmzte has quit [Ping timeout: 255 seconds]
lordmzte0 is now known as lordmzte
lordmzte90 has joined #river
<lordmzte90> Hello! Having a strange issue where XWayland windows won't get any mouse events, I can reproduce this on both 0.3.0 and the latest commit. Any clues?
<lordmzte90> I'm on a Steam Deck running NixOS, river has been started by GDM (and a shim script in between that shouldn't do much; that works on all my other machines).
<ifreund> lordmzte: xwayland doesn't handle negative output coordinates, check your output configuration to make sure all outputs have exclusively positive coordinates
<lordmzte90> Oh yep, that's it!
<lordmzte90> Interesting.
<FireFly> ah that's good to be aware of
<ifreund> we should probably find some way to make this less of a footgun, I don't think sway does any better than river here currently for example
<lordmzte90> Changed my output coords around to be positive and everything works. I guess this must be kinda common given how quickly you figured it out :P
<ifreund> I don't acutally see people run into it all that often, It's just the only thing that made sense :D
<adamcstephens> Can you just prevent negative coordinates?
<FireFly> or offset everything--but I guess it kind of conflicts with relying on the wlr-output-management protocol to handle the output management
<FireFly> I wonedr if it'd be practical for xwayland to do the offsetting toward its client (so the client sees a translated space vs everything else) or if that would just cause more issues from now having two different coordinate systems
lordmzte3 has joined #river
lordmzte has quit [Ping timeout: 240 seconds]
lordmzte3 is now known as lordmzte
<ifreund> I believe there's some technical issue preventing xwayland from fixing this but I don't remember details or understand Xorg internals
<ifreund> Perhaps river should reject negative coordinates suggested by wlr-output-managent if xwayland is enabled
lordmzte29 has joined #river
<lordmzte29> That sounds like a good idea to prevent people from running into this, especially given that it doesn't look like anything is about to happen on the xwayland side any time soon.
<FireFly> yeah, I guess it's the reasonable workaround for now
<lordmzte29> I could work on a PR adding this check if that's fine.
<ifreund> lordmzte: go for it if you like :)
<lordmzte29> Will do!
lordmzte90 has quit [Quit: Client closed]
lordmzte29 has quit [Quit: Client closed]
leopoldek has joined #river
mifom has joined #river
caughtquick has quit [Quit: The Lounge - https://thelounge.chat]
mifom has quit [Ping timeout: 245 seconds]
caughtquick has joined #river
hmht has quit [Ping timeout: 260 seconds]
sewn has joined #river
<sewn> anyone know what this 'error: no field or member function named 'execAllowFail' in 'Build'' build error in river/waylock/etc is?
<sewn> alpine can no longer build these programs on zig 0.12.0, so it is no longer possible to build from source without an archive of the original zig 0.11.0 package (gone due to repository change maybe)
<leon-p> you can get a statically linked executable of older zig versions from the zig website
<sewn> but what is causing this build error?
<novakane> well, breaking changes between zig 0.11 and zig 0
<novakane> 0.12
<novakane> execAllowFail probably has a new name
<sewn> what could that be?
<novakane> no idea, I haven't check
<sewn> boo.
<novakane> it's not like knowing the new name will fix your problem if you still use zig 0.12 to build these projects
yiyu38 has joined #river
yiyu38 has quit [Ping timeout: 250 seconds]
yiyu has joined #river
mifom has joined #river
mifom has quit [Ping timeout: 245 seconds]
yiyu has quit [Ping timeout: 250 seconds]
waleee has joined #river
<ifreund> sewn: ill make a zig 0.12.0 compatible release soonish
<ifreund> Im on vacation next week though and dont know if I'll find the time before then
<ifreund> if you want a patch for 0.12.0 compatibility see the next-zig branch
talismanick has joined #river
taeltydes has joined #river
taeltydes has quit [Client Quit]
Guest61 has joined #river
Guest61 has quit [Client Quit]
yiyu has joined #river
<yiyu> Hello! I apologize for this noob question. I was having some problem with KDE Connect while using river, and I traced it down and realized that it has something to do with dbus. I'm currently on NixOS, and I found this in the default config for sway from NixOS's Sway declaration: `exec dbus-update-activation-environment --systemd DISPLAY
<yiyu> WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP`. It fixed the problem, but I don't know why and how. I tried to look up the doc for dbus, but it's not that easily for me to understand. Can someone explain, if it's very complicated, maybe a link to the documentation would help? Thanks :)
<ifreund> yiyu: I don't know the details of your situation but in general things started through dbus activation will inherit the environment of the dbus process
<ifreund> this environment will likely be missing WAYLAND_DISPLAY, DISPLAY, etc unless the dbus process was started from within river (not at all a typical setup)
<ifreund> that command appears to add the missing environment variables to the environment used by dbus to start programs through dbus activation
<yiyu> Thanks for the reply! What would be the best practice to do all of this then? I currently start river from tty. Would it be better to update the dbus env in river's init script, or should I write a startup script that sets the env variable before launching river?
<ifreund> river's init script is the right place to do this, WAYLAND_DISPLAY and DISPLAY aren't set before launching river
<yiyu> Sounds good. Thank you so much for the help!
yiyu has quit [Quit: Client closed]
Guest21 has joined #river
Guest21 has quit [Client Quit]
mifom has joined #river