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
<kennylevinsen>
pq: ah, so only use the seat name to trip VT_BOUND. Plot twist: seat0 is not required to be VT bound, and won't be with CONFIG_VT=N. :P
cyberpear_ has quit []
keyvan has joined #wayland
___nick___ has quit [Ping timeout: 480 seconds]
<zubzub>
jadahl: I think I managed to fix the whole shm resize shenenigans by changing the shm implementation but I'm not sure if it's the right approach cc pq daniels
<zubzub>
basically by specifying and old_size of 0 when there are external refs, causes the old data pointer to reman valid when doing mremap
<zubzub>
"If the value of old_size is zero, and old_address refers to a
<zubzub>
shareable mapping (see mmap(2) MAP_SHARED), then mremap() will
<zubzub>
create a new mapping of the same pages.
<zubzub>
this gets rid of the whole defered resizing when their is a external ref
<zubzub>
which introduces the bug where a client does not know a resize is pending and then tries to create an out of bounds buffer (cft the gtk4 bug)
<zubzub>
*there is
<zubzub>
I'll see if I can write a pull request tomorow with some more explanation