leopoldek has quit [Remote host closed the connection]
<LarstiQ>
NickH: cheers!
<LarstiQ>
ifreund: did you write that river-window-management-v1.xml by hand or is there some source from which this is produced?
<LarstiQ>
ifreund: the output events say that logical outputs should not overlap, but it's at least somewhat common to overlap with output mirroring and possible but weirder with slight overlap right now. Is that an intentional restriction?
<LarstiQ>
"The width/height must be greater than or equal to zero" is that ratio must be non-negative, or both of width and height?
Guest42 has joined #river
Guest42 has quit [Quit: Client closed]
hmht has joined #river
<NickH>
LarstiQ: I also periodcally make packages from the HEAD of master for my own use. I could publish them too if there is interest.
<LarstiQ>
my current Debian machines are headless but I appreciate the option
<ifreund>
LarstiQ: by hand
<ifreund>
in the case of output mirroring, I intent to model that as a single logical output rendered to two separate physical outputs (represented by two separate wl_outputs)
<ifreund>
s/intent/intend/
<ifreund>
both width and height, I should change that wording though as it seems to have been unclear
<ifreund>
push a commit disambiguating that stuff
<ifreund>
*pushed, can't type today for some reason
lbia has quit [Ping timeout: 268 seconds]
lbia has joined #river
<LarstiQ>
ifreund: check. And the other way around, multiple logical outputs to a single physical one?
<ifreund>
In theory this protocol already supports that. I don't have any plans to make that configuration possible though
<ifreund>
currently, my plan is to continue to use wlr-output-management for output configuration
<novakane>
what's the plan for the river layout protocol after that, is it still gonna be supported for some time?
<ifreund>
novakane: I have some vague plans to make a river-compat window manager that exposes the current protocols
<ifreund>
all of river-status, river-control, and river-layout will be removed from the river binary when I implement the window management protocol
<ifreund>
river-compat could have it's own wayland socket it exposes to a river-layout-v3 layout generator for example, RIVER_COMPAT_DISPLAY
<ifreund>
I don't know details, I'll put more thought into how to make the upgrade smooth after it's more clear what river will look like with the window management protocol implemented
<novakane>
yeah, could works, ideally all clients would not be broken on the first release with rwm
<novakane>
that would be pretty messy to not have at least one release cycle without a warning for that imo
robertgzr has joined #river
<robertgzr>
hello o/ does anybody else experience blurryness when going fullscreen
<robertgzr>
seems to only happen with firefox from my brief testing
<robertgzr>
i think it's also not properly relayouting the page
<ifreund>
robertgzr: I haven't seen that before. What output configuration are you using? In particular, what scale factor?
<robertgzr>
ifreund: scale factor 1.5
<robertgzr>
might be a FF bug? since this doesn't happen with any other client
<novakane>
robertgzr: are you sure you're not running Firefox under xwayland? iirc fractional scaling is buggy
<robertgzr>
novakane: this host doesn't have X at all :)
Guest28 has joined #river
Guest28 has quit [Quit: Client closed]
Guest76 has joined #river
Guest76 has quit [Client Quit]
waleee has joined #river
waleee has quit [Ping timeout: 240 seconds]
hmht has quit [Ping timeout: 256 seconds]
<leon-p>
just read the WM protocol and it seems pretty nice. I think this already covers the vast majority of the windowing related items in my wishlist
<leon-p>
just wondering about the render_node based approach instead of setting x,y on the river_window object and having a simple numerical z odering
<leon-p>
also wondering how render-node x,y interacts with river_decoration's offset
<leon-p>
ah, by not allowing you to get a render-node for river-deco surfaces
<leon-p>
for the get_decoration request, an edge of "none" should probably be a protocol error
<leon-p>
I wonder if it should be possible to additionally create an "overlay" river-decoration surface. Use-cases would be tag display like in hikari, or showing the window dimensions during interactive resize like some X WMs do
<leon-p>
and if I have a left deco surface and a top deco surface, which of those covers the top-left corner? both?
<ifreund>
leon-p: actually, deco surfaces aren't supposed to have an edge any more, that was part of an earlier design I scrapped
<leon-p>
speaking of, I wonder if the corners should be separate surfaces. F.e. if I wanted to render some skeumorphic borders, I'd want to have fancy corners, but use viewporter for the edges so I could use small buffers and don't need to render all the time
<leon-p>
ah, I see
<leon-p>
nice
<ifreund>
they are always positioned relative to the top left corner, the wm knows the dimensions of the window so it can place the decorations where it likes
<leon-p>
yeah that makes more sense, I like it
<ifreund>
and yeah, I'm trying to go straight for the most technically difficult parts and get those solidified first
<leon-p>
I think a simple WM could even get away with rendering a border buffer only once and use it for all windows with viewporter
<leon-p>
good plan, I am liking what I am seeing already :]
<leon-p>
although I suppose we'll also need a dedicated input config protocol now
<ifreund>
there is a separate request to set borders rendered by the compositor to simplify that use-case
<leon-p>
my use of "simple" here still included old-school skeumorphic borders
<ifreund>
indeed we will, if you want to draft up river-input-management have at it, it should be entirely orthangonal to window-management
<leon-p>
sure, will have a go
<ifreund>
just like wlr-output-managent is
<leon-p>
I just probably won't have the time to upstream anything to wlr-protocols
<leon-p>
(and patience)
<ifreund>
yeah, I don't think trying to upstream an input-config protocol is worth it yet
<ifreund>
if there is interest from other compositors we can do that in the future
<leon-p>
aye
<leon-p>
anyway, off to karaoke now, have a good one o7
<ifreund>
cheers o7
<ifreund>
as for why not numerical z ordering, I think this is simpler than z ordering but have never tried to use numerical z ordering for window management before
<ifreund>
don't you run into issues where you have to update the z-index of many windows just to change the relative positioning of 2 windows?
<ifreund>
e.g. say you have window A with z 0, B with z 1, and C with z 2. Then you want to insert D between A and B. You now need to increment the z index of both B and C
<ifreund>
It seems to me that it would generate a lot more protocol traffic than place_above/place_below but I could be convinced otherwise
The_Buhs has quit [Quit: The_Buhs]
<leon-p>
IIRC X has numerical z ordering, but also place_above/below requests and also an additional request where you can provide an array of window IDs to make their stacking order match their order in the array
<leon-p>
I think you're right though, numerical isn't that great, it could also lead to conflicts which would prob. be undefined behaviour in the protocol
<leon-p>
it also has move-to-the-top and move-to-the-bottom requests
hendry has joined #river
hendry has quit [Quit: WeeChat 4.2.2]
hendry has joined #river
leopoldek has joined #river
waleee has joined #river
eoli3n is now known as toto123456
toto123456 is now known as eoli3n
Guest15 has joined #river
eoli3n is now known as toto12345
toto12345 is now known as eoli3n
Guest15 has quit [Client Quit]
leopoldek has quit [Remote host closed the connection]
eoli3n is now known as toto1
toto1 is now known as eoli3n
dissisor has joined #river
The_Buhs has joined #river
isaac has joined #river
isaac is now known as Guest8866
leopoldek has joined #river
Guest8866 has quit [Quit: Client closed]
Guest58 has joined #river
Guest58 has quit [Quit: Client closed]
ninewise has quit [Remote host closed the connection]