palanix has quit [Remote host closed the connection]
schneid3306 has joined #river
palanix has joined #river
palanix has quit [Remote host closed the connection]
fleisch_ie has joined #river
dagle1 has joined #river
soulseeder has quit [*.net *.split]
adamcstephens has quit [*.net *.split]
rodrgz has quit [*.net *.split]
leon-p has quit [*.net *.split]
ifreund has quit [*.net *.split]
coder_kalyan has quit [*.net *.split]
leverarch has quit [*.net *.split]
mainiomano has quit [*.net *.split]
viscous24 has quit [*.net *.split]
MonsoonSecrecy has quit [*.net *.split]
gbrlsnchs has quit [*.net *.split]
kennylevinsen has quit [*.net *.split]
anemofilia has quit [*.net *.split]
Ronan-Dplq_ has quit [*.net *.split]
glenneth has quit [*.net *.split]
rossabaker has quit [*.net *.split]
fleischie has quit [*.net *.split]
wuyoli has quit [*.net *.split]
dvzrv has quit [*.net *.split]
dagle has quit [*.net *.split]
dvzrv has joined #river
soulseeder has joined #river
sentry has quit [Ping timeout: 276 seconds]
Snetry has joined #river
kraem has joined #river
adamcstephens has joined #river
leverarch has joined #river
ifreund has joined #river
leon-p has joined #river
rodrgz has joined #river
mainiomano has joined #river
Ronan-Dplq_ has joined #river
viscous24 has joined #river
coder_kalyan has joined #river
wuyoli has joined #river
rossabaker has joined #river
MonsoonSecrecy has joined #river
anemofilia has joined #river
kennylevinsen has joined #river
gbrlsnchs has joined #river
glenneth has joined #river
elshize has quit [Ping timeout: 276 seconds]
kraem has quit [Ping timeout: 260 seconds]
kraem has joined #river
pixavi has joined #river
dagle1 is now known as dagle
kraem has quit [Ping timeout: 265 seconds]
pixavi has quit [Ping timeout: 276 seconds]
flower_ has joined #river
<leon-p>
at first I thought the new updating sequence of the WM protocol would make window management logic in scheme kinda ugly, but I find that it actually works quite well
<leon-p>
all I have to do is create lists "scheduled-<operation>" and add additional hook procedures to the start-*-phase-hook
pixavi has joined #river
pixavi has quit [Ping timeout: 252 seconds]
kraem has joined #river
pixavi has joined #river
kraem has quit [Ping timeout: 265 seconds]
lizog has quit [Read error: Connection reset by peer]
pepe has quit [Read error: Connection reset by peer]
voroskoi has quit [Read error: Connection reset by peer]
pvsr has quit [Read error: Connection reset by peer]
lizog has joined #river
voroskoi has joined #river
pvsr has joined #river
greenfork has quit [Read error: Connection reset by peer]
andrea has quit [Read error: Connection reset by peer]
bfiedler has quit [Read error: Connection reset by peer]
Ankhers has quit [Write error: Connection reset by peer]
ang1e has quit [Read error: Connection reset by peer]
kindablue has quit [Write error: Connection reset by peer]
pepe_ has joined #river
maringuu has quit [Write error: Connection reset by peer]
Guest7777 has quit [Write error: Connection reset by peer]
pepe_ is now known as pepe
bfiedler has joined #river
kindablue_ has joined #river
ang1e_ has joined #river
greenfork has joined #river
maringuu has joined #river
andrea has joined #river
Ankhers_ has joined #river
undefined__ has joined #river
kindablue_ is now known as kindablue
pixavi has quit [Quit: pixavi]
Ankhers_ is now known as Ankhers
ang1e_ is now known as ang1e
<leon-p>
ifreund: when setting an input region on a decoration surface, is that in buffer coords (unscaled) or surface coords (scaled)?
<leon-p>
huh, buffer apparently...
<ifreund>
leon-p: uh, wayland.xml says "The input region is specified in surface-local coordinates."
<ifreund>
glad to hear that the update sequence stuff is working out well in scheme
<ifreund>
I think it should be possible to implement the window management logic as two pure functions now
<ifreund>
windowing_update(wm state, events from server) -> (wm state, window management state requests)
<ifreund>
and the same kind of thing for the rendering update
<Franciman>
leon-p: do ytou have your scheme code somewhere?
Vitis has joined #river
Vitis has quit [Client Quit]
Vitis has joined #river
<Vitis>
I was wondering if anyone else ran into an issue of mouse cursor twitching back and forth during movement with a fullscreen game. Game is running from steam through proton(i tried proton 9, experimental, hotfix) natively on wayland and it's present in all games regardless of proton version. I tried the same case under Sway but everything works
<Vitis>
normally which points into it probably being a mouse cursor constraint bug. I'm using river 0.3.7-1 from the archlinux repos. Newer releases don't build on arch so I can't test if newer version has fixed this.
<leon-p>
Franciman: yes, but not on my usual source. the network at my institute blocks all git except their own for whatever reason, so I used that for now. Let me find out if I can set it too public
<leon-p>
ifreund: when I set input region in surface coordinates, it did not work. Although I do wonder if maybe the viewporter input region path is buggy in wlroots?
<leon-p>
ifreund: I am interested in the pure function approach, however I decided to use just hooks since they seem to work quite for emacs w.r.t. allowing users to extend the logic. Sometimes doing it imperative can be more straight-forward than doing it functional
<leon-p>
Franciman: note that it's not quite yet on the same level as the previous C implementation: There are no widgets yet and I haven't ported all the window management logic (Scheme) that the old one had
<ifreund>
leon-p: I think there might indeed be a bug in wlr_scene
<ifreund>
this function accepts buffer coords but then uses them as surface coords
<leon-p>
I guess input region isn't commonly used, so something like that may slip
<ifreund>
I think it's more that it isn't commonly used in combination with viewporter :D
<leon-p>
fair, tbh :)
<ifreund>
leon-p: nevermind, that wlroots function is fine, I was being dumb
<ifreund>
not sure if there's a bug or not, would need a minimal reproducer I guess
<leon-p>
at the least the offset seems to be in buffer coords. I have a texture and then use viewporter to map parts of it to surface. If I map a part of the texture that is _not_ at (0,0) to a surface, than surface regions would start at (0,0) while buffer regions would start at the (x,y) of the texture part I view-ported, no?
<leon-p>
I don't think I have any xdg-shell thing lying around for a minimal reproducer though :/
<leon-p>
at least nothing that still builds
<Vitis>
Also there's another thing i found and that's with mouse configuration if i set flat accel profile and acceleration to 1 the mouse speed in river is exactly twice of what it is with the same setting under sway. Under sway if i set profile flat and acceleration to 0 in order to get the same sensitivity i need to set acceleration to -0.5 in river.
<leon-p>
Vitis: river does nothing magic with any of those values, we pass them straight along to libinput. Maybe sway does something different here?
<ifreund>
leon-p: yes, if you use viewporter to set the source box to something with non-zero x/y that should have no affect on the coordinate space used for input regions
<ifreund>
note that the source box coordinates are post-transform/scale
<leon-p>
yeah, anything else would not make much sense
<Guest80>
heyhey, so is there a way to disable scaling for xwayland for a specific program, or just in general? i cant find anything about it anywhere for river