ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
<karenthedorf>
TIL: There's a 'wl_display_listener' >.>
<karenthedorf>
Although it doesn't seem like you can use it? Just complains there's already a listener for the display proxy.
fmuellner has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
guru__ has joined #wayland
guru_ has quit [Ping timeout: 480 seconds]
guru_ has joined #wayland
guru__ has quit [Ping timeout: 480 seconds]
guru__ has joined #wayland
guru_ has quit [Ping timeout: 480 seconds]
guru_ has joined #wayland
guru__ has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
caveman has joined #wayland
guru__ has joined #wayland
Brainium has quit [Ping timeout: 480 seconds]
guru_ has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
privacy has quit [Quit: Leaving]
Brainium has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
bindu has quit [Remote host closed the connection]
bindu has joined #wayland
checkfoc_us has quit []
checkfoc_us has joined #wayland
glennk has joined #wayland
coldfeet has joined #wayland
riteo_ has joined #wayland
riteo has quit [Ping timeout: 480 seconds]
coldfeet has quit [Remote host closed the connection]
bodiccea_ has quit [Read error: No route to host]
bodiccea_ has joined #wayland
mvlad has joined #wayland
shoragan has joined #wayland
cwegener has quit [Quit: WeeChat 4.3.3]
nurupo has quit [Quit: nurupo.ga]
nurupo has joined #wayland
sima has joined #wayland
karenw has joined #wayland
karenthedorf has quit [Ping timeout: 480 seconds]
kts has joined #wayland
iomari891 has joined #wayland
Plagman has quit [Remote host closed the connection]
<karenthedorf>
So, I'm looking at the output of WAYLAND_DEBUG. How/Why does the server send wl_display@1.delete_id(3), but then later on sends wl_callback@3.done(31974). How can it call .done on something it's deleted?
lsd|2 has joined #wayland
lsd|2 has quit []
<karenthedorf>
(I know the lifetime of wl_callback is 'weird' as it's server-destroyed via na event unlike most objects, but I still don't understand what's going on)
lsd|2 has joined #wayland
iomari891 has joined #wayland
lsd|2 has quit []
sally has left #wayland [#wayland]
lsd|2 has joined #wayland
ManMower has quit [Ping timeout: 480 seconds]
mripard has quit [Quit: mripard]
sally has joined #wayland
iomari891 has quit [Read error: No route to host]
iomari891 has joined #wayland
<sewn>
latex: wmenu, mew, emenu, fuzzel
Brainium has quit [Quit: Konversation terminated!]
<kennylevinsen>
karenthedorf: share the output?
cool110 has joined #wayland
cool110 is now known as Guest206
Sachiel has quit [Quit: WeeChat 4.2.1]
karenthedorf has quit [Ping timeout: 480 seconds]
Sachiel has joined #wayland
novenary has quit [Remote host closed the connection]
novenary has joined #wayland
ity has joined #wayland
fossdd_ has joined #wayland
fossdd__ has joined #wayland
fossdd has quit [Ping timeout: 480 seconds]
fossdd_ has quit [Ping timeout: 480 seconds]
fossdd has joined #wayland
fossdd_ has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
fossdd__ has quit [Ping timeout: 480 seconds]
fossdd__ has joined #wayland
fossdd has quit [Ping timeout: 480 seconds]
fossdd_ has quit [Ping timeout: 480 seconds]
fossdd has joined #wayland
fossdd_ has joined #wayland
fossdd__ has quit [Ping timeout: 480 seconds]
fossdd is now known as Guest215
fossdd_ is now known as fossdd
flom84 has joined #wayland
karenthedorf has joined #wayland
lsd|2 has quit [Read error: Connection reset by peer]
<karenthedorf>
On line 3 the server says delete_id(3), but then at the end of the registry spitting out globals it calls 3.done()
UndeadLeech has quit [Quit: Critical System Error]
<karenthedorf>
Also, how come there's no wl_registry.release like wl_seat and friends got in a later version?
fossdd_ has joined #wayland
<vyivel>
wl_registry is frozen
<vyivel>
wl_fixes addresses this
<karenthedorf>
Ah, it has to remain forward compatible as well as backward?
fossdd_ has quit [Remote host closed the connection]
<vyivel>
the object version is (most of the time) defined by the version of the object which creates it (wl_display in this case via get_registry)
<karenthedorf>
Oh, I think the comments on the wl_fixes MR answer my question:
<vyivel>
and wl_display is special as it exists by default
<karenthedorf>
"IDs are only re-used once both a wl_display.delete_id event has been received AND the client has explicitly destroyed the object."
<vyivel>
and can't be changed
<vyivel>
regarding id reuse, yeah that's it
<karenthedorf>
If I extend that to "the client or server explicitly call the destructor" (as wl_callback is a destructor event, not a client callable function)
<karenthedorf>
destructor events are quirky, I've seen it said before. Thanks vyivel.
fossdd_ has joined #wayland
Company has quit [Read error: Connection reset by peer]
fossdd has quit [Ping timeout: 480 seconds]
Company has joined #wayland
sevz has quit [Quit: WeeChat 4.3.2]
fossdd has joined #wayland
sevz has joined #wayland
UndeadLeech has joined #wayland
iomari891 has quit [Read error: Connection reset by peer]