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/
twelve has quit [Remote host closed the connection]
<Nosrep> oh thats crazy
<Nosrep> so the ss itself has transparency?
JasperHasMyBlast has joined #river
JasperHasMyBlast has quit [Quit: Client closed]
Snetry has quit [Ping timeout: 252 seconds]
Snetry has joined #river
schneid3306 has quit [Remote host closed the connection]
schneid3306 has joined #river
_whitelogger has joined #river
vimproved has quit [Remote host closed the connection]
vimproved has joined #river
<leon-p> ifreund: that sounds ... hacky. FWIW a few years ago I was plaing around with adding a river mode that bound j / k to calling wtype to generate virtual arrow-key presses to scroll firefox. The latency was horrible (and lead me onto that custo keyboard layout quest if you remember)
apoorv569 has joined #river
Guest46 has joined #river
Guest46 has quit [Client Quit]
<ifreund> leon-p: latency should be much better without the startup time of wtype included I think
<ifreund> and yeah its kinda hacky, but I think its a valid thing to want to do and I would like it to be possible if it doesn't get in the way of other more important things
<ifreund> Nosrep: yep, the screenshot itself can be transparent
<ifreund> i.e. not composited with the rest of the desktop
sowing has joined #river
sowing has quit [Client Quit]
Keeto has joined #river
Keeto has quit [Client Quit]
<FireFly> perfect for taking screenshots of xeyes
<FireFly> (well uh, assuming that would still work for xwayland clients, but.. I guess so?)
twelve has joined #river
<ifreund> dunno about xwayland, maybe not
twelve has quit [Remote host closed the connection]
twelve has joined #river
twelve has quit [Remote host closed the connection]
twelve has joined #river
ccha has quit [Quit: WeeChat 4.6.2]
twelve has quit [Remote host closed the connection]
twelve has joined #river
Ireozar has quit [Ping timeout: 252 seconds]
Ireozar has joined #river
ccha has joined #river
ccha has quit [Client Quit]
ccha has joined #river
ccha has quit [Client Quit]
ccha has joined #river
twelve has quit [Remote host closed the connection]
twelve has joined #river
Szadek727 has quit [Quit: off]
Szadek727 has joined #river
twelve has quit [Remote host closed the connection]
adamcstephens has quit [Remote host closed the connection]
adamcstephens has joined #river
adamcstephens has quit [Remote host closed the connection]
adamcstephens has joined #river
sparogy has quit [Remote host closed the connection]
sparogy has joined #river
sparogy has quit [Remote host closed the connection]
sparogy has joined #river
catman has joined #river
andyrtr has quit [Remote host closed the connection]
andyrtr has joined #river
<pkap> About screensharing with the new protocol. If a toplevel is shared (say zoom via wlr-portal), but not rendered on the output, e.g. the toplevel is on another tag. What dimensions of the toplevel will be screenshared?
<vyivel> the last ones probably
<pkap> Or do all toplevels have a buffer in memory with certain dimensions, even if it's not rendered currently?
<pkap> Then this buffer would be shared I assume?
<leon-p> pkap: whether a client renders a window is orthogonal to whether it's displayed. the former is necessary for screencapture (unless the server caches the last committed buffer), the letter isn't
<pkap> leon-p: I see. That makes sense. So the client is unaware if it's displayed or not and therefore it will keep and update the buffer?
<pkap> Sorry for the probably very basic questions
<leon-p> yes and no, depends on how it's rendering loop is setup
<leon-p> some programs, like f.e. a load graph widget, needs to update, say, every X seconds. It has a rendering loop like { render(); sleep(X); }. Applications which have f.e. animations constantly on screen will likely use frame callbacks (or one of the fancy new synchronisation protocols) to synchronise rendering with the physical display. Games on the other hand are usualy very badly programmed and have a brute force rendering loop that just renders as fast as po
<leon-p> ssible
<leon-p> a client tying it's rendering to frame callbacks will stop rendering if it receives no frame callbacks. The server may stop sending them when the client isn't displayed
<leon-p> however, the server will likely send frame callbacks again if the client is actively screen-copied
<leon-p> the last commited buffer will be kept either way
<pkap> Cool, that's good to know
sparogy has quit [Remote host closed the connection]
sparogy has joined #river
sparogy has quit [Read error: Connection reset by peer]
sparogy has joined #river
<szgy> ifreund: text-input-protocol could allow smth _kinda_ like global vim keybinds??
<leon-p> yes and it already works, just with high latency
<leon-p> i.e. you could bind `wtype -k up` to k
<leon-p> which would cause k to spawn wtype to generate a virtual event of an up-arrow press
<leon-p> but due to the startup latency right now it's not feasible, but a river WM could also just use that protocol directly, eliminating the startup time
<leon-p> maybe I'll try it in antares, see how well it works
Guest66 has joined #river
Guest66 has quit [Client Quit]
sparogy has quit [Remote host closed the connection]
sparogy has joined #river
sparogy has quit [Remote host closed the connection]
ccha has quit [Quit: WeeChat 4.6.2]
sparogy has joined #river
autisticshark has quit [Quit: Lost terminal]
<szgy> nice
autisticshark has joined #river
ccha has joined #river
aktina has quit [Ping timeout: 245 seconds]
notchoc has quit [Ping timeout: 245 seconds]
aryak has quit [Ping timeout: 245 seconds]
aktina has joined #river
aryak has joined #river
notchoc has joined #river
ccha has quit [Quit: WeeChat 4.6.2]
ccha has joined #river
<pkap> There are tools doing something similar with the /dev/input and uinput in think.
<donio> from what i can tell only the text-input protocol approach would allow ensuring that the input goes to a particular window right? (rather than whatever happens to be focused)
<vyivel> iirc text-input focus must match keyboard focus as per protocol
<vyivel> but also nothing stops the compositor from just Lying and focusing multiple windows at the same time if they're from different clients
schneid3306 has quit [Remote host closed the connection]
schneid3306 has joined #river
schneid3306 has quit [Remote host closed the connection]
schneid3306 has joined #river
OC has joined #river
OC has quit [Quit: Client closed]
twelve has joined #river
twelve has quit [Ping timeout: 252 seconds]
Cornelius-Figgle has quit [Ping timeout: 276 seconds]
twelve has joined #river
twelve has quit [Remote host closed the connection]
twelve has joined #river