ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput | register your nick to speak
cool110 has quit [Quit: ZNC 1.8.2+deb2build6 - https://znc.in]
cool110 has joined #wayland
d_ed has quit [Ping timeout: 480 seconds]
sav10 has joined #wayland
fmuellner has joined #wayland
fmuellner has quit [Remote host closed the connection]
<yshui`>
hmm, eglgears_wayland ACKs configure event a bit weirdly. it sends ack_configure, then attaches a buffer with the wrong size, then commits.
<yshui`>
the subsequent buffers it attaches are of the right size.
<yshui`>
i think the client sending ack_configure means it understands what the buffer's size have to be? is eglgears' behavior correct?
hardening_ has quit [Ping timeout: 480 seconds]
<kennylevinsen>
It means it acknowledged the configure, not that it cared. It is ultimately the only authority on its own window size, and is free to ignore compositor suggestions. However, reacting on the second commit after ack does seem a little buggy.
<yshui`>
so if the client does care, what the response sequence should be like? `(receives configure event) -> set_window_geometry -> ack -> commit`?
<yshui`>
the clients I've looked at all seems to ack immediately before doing anything else.
<kennylevinsen>
React, then ack, although as compositor suggestions are just that it cannot be strongly enforced.
<kennylevinsen>
That way, compositors can know that the last commit is in acknowledgement and can e.g. perform synchronized tile resizing like sway does
<kennylevinsen>
It does specify "if a client commits in response to a configure, it should...", so the spec does dictate expected behavior here
<kennylevinsen>
So it's valid to file a bug with the client when it does something different, like acking in one commit and reacting in another. But the client is allowed to resize itself at will, so we can't really enforce a certain size...
junaid has joined #wayland
ahmadraniri[m] has quit []
mackerelian9 has joined #wayland
mackerelian has quit [Read error: Connection reset by peer]
manuel__ has joined #wayland
___nick___ has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
smallville7123 has joined #wayland
kts has quit [Quit: Leaving]
manuel__ has quit [Ping timeout: 480 seconds]
jmdaemon has quit [Ping timeout: 480 seconds]
Company has joined #wayland
andyrtr_ has joined #wayland
junaid has quit [Ping timeout: 480 seconds]
andyrtr has quit [Ping timeout: 480 seconds]
andyrtr_ is now known as andyrtr
d_ed has joined #wayland
Leopold_ has joined #wayland
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #wayland
zebrag has joined #wayland
dcz_ has quit [Ping timeout: 480 seconds]
Brainium has joined #wayland
<DemiMarie>
kennylevinsen: what about e.g. tiling compositors that need to force a certain window size?
<kennylevinsen>
DemiMarie: the xdg_toplevel state "maximized" says that a client must obey the configured dimension
<kennylevinsen>
but sway implements clipping of tiling containers in case the client renders too big, and centering in case it is too small
<kennylevinsen>
(clipping happens when a container dimension shrinks past the clients minimum render size, which is sometimes surprisingly large)
junaid has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
junaid has quit [Quit: leaving]
junaid has joined #wayland
junaid has quit []
junaid has joined #wayland
junaid has quit []
junaid has joined #wayland
___nick___ has quit [Ping timeout: 480 seconds]
jmdaemon has joined #wayland
kenny has quit [Ping timeout: 480 seconds]
rv1sr has quit []
Brainium has quit [Quit: Konversation terminated!]
kenny has joined #wayland
sav10 has quit []
Moprius has joined #wayland
Moprius has quit []
doppo has quit [Remote host closed the connection]
junaid has quit [Remote host closed the connection]