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
maxzor has quit [Remote host closed the connection]
maxzor has joined #wayland
maxzor has quit [Ping timeout: 480 seconds]
cabal704 has joined #wayland
cabal704 has quit []
columbarius has joined #wayland
radu242 has joined #wayland
co1umbarius has quit [Ping timeout: 480 seconds]
masoudd has quit [Ping timeout: 480 seconds]
Satan has quit [Ping timeout: 480 seconds]
Emet-Selch has joined #wayland
nerdopolis_ has quit [Ping timeout: 480 seconds]
Azem has quit [Ping timeout: 480 seconds]
off^ has quit [Ping timeout: 480 seconds]
txtsd has quit [Ping timeout: 480 seconds]
txtsd has joined #wayland
shankaru has joined #wayland
off^ has joined #wayland
txtsd has quit [Ping timeout: 480 seconds]
The_Company has quit []
yoslin has quit [Remote host closed the connection]
yoslin has joined #wayland
sillyslux has quit [Ping timeout: 480 seconds]
zebrag has quit [Quit: Konversation terminated!]
eroux has joined #wayland
masoudd has joined #wayland
jgrulich has joined #wayland
hardening has joined #wayland
danvet has joined #wayland
dcz_ has joined #wayland
cafuffu has joined #wayland
spstarr has joined #wayland
maxzor has joined #wayland
MajorBiscuit has joined #wayland
l4s8g has joined #wayland
pnowack has joined #wayland
maxzor has quit [Ping timeout: 480 seconds]
pq has quit [Ping timeout: 480 seconds]
pq has joined #wayland
reillybrogan_ has joined #wayland
reillybrogan has quit [Ping timeout: 480 seconds]
maxzor has joined #wayland
floof58 has quit []
floof58 has joined #wayland
maxzor has quit [Remote host closed the connection]
maxzor has joined #wayland
jmdaemon has quit [Ping timeout: 480 seconds]
maxzor has quit [Remote host closed the connection]
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hardening_ has joined #wayland
hardening has quit [Ping timeout: 480 seconds]
fmuellner has joined #wayland
Biolunar has joined #wayland
<Biolunar>
Why do some interfaces (like wl_pointer) have had a release() request added to the spec? I can’t find the reasoning for that request. Is the destruction (eg. via wl_pointer_destroy()) not enough?
<ifreund>
Biolunar: wl_pointer_destroy() just destroys the client side object without informing the server
<ifreund>
so the server can't ever destroy the object
mvlad has joined #wayland
<pq>
Biolunar, consider the release request an errata. If there was a destroy request defined from the beginning, there would be no need for release.
<pq>
Biolunar, the thing about <interface>_destroy() function is that if a destroy request is not defined, then that function is still generated but it only frees the client side structure without sending any message.
<pq>
OTOH, if destroy request is defined, then <interface>_destroy() will send that request and free the client side structure.
<Biolunar>
It makes sense to me now, thank. It’s just not clear what a destructor function is by reading the header file. Those functions are marked in the XML as type="destructor" but not in the C code. So wl_pointer did not have such a request, but wl_shm_pool did have that attribute on its destroy request.
<pq>
Yeah, it was a neat trick when it was invented, unfortunate in hindsight.
cafuffu has quit [Ping timeout: 480 seconds]
<pq>
you should see it "clearly" in the generated inline functions though, when you compare one with the destroy request to one without.
<pq>
but of course reading them shouldn't be necessary to begin with
<Biolunar>
I saw that they do “more” but it wasn’t clear why. So a wl_proxy_destroy doesn’t send a request to the compositor about the death of that proxy.
<pq>
correct
<pq>
some interfaces legitimately do not need a destroy request, though they are rare
<Biolunar>
Well globals I suppose
<pq>
no, more like when the object is destroyed by an event instead
<Biolunar>
Oh, like wl_callback
<pq>
yup, that's the prime example
<pq>
globals not needing a destroy request was exactly the mistake made in the early days, which is why many of the "core" globals have a release request instead.
fmuellner has quit []
maxzor has joined #wayland
fmuellner has joined #wayland
c7s has quit [Ping timeout: 480 seconds]
fmuellner has quit []
fmuellner has joined #wayland
devilhorns has joined #wayland
eroux has joined #wayland
l4s8g has quit []
l4s8g has joined #wayland
c7s has joined #wayland
fmuellner has quit []
fmuellner has joined #wayland
maxzor has quit [Remote host closed the connection]
rasterman has joined #wayland
cabal704 has joined #wayland
manuel1985 has joined #wayland
cvmn has joined #wayland
nerdopolis has joined #wayland
cabal704 has quit [Quit: WeeChat 3.4]
cabal704 has joined #wayland
nadrian has joined #wayland
Company has joined #wayland
slattann has joined #wayland
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nadrian has quit []
nadrian has joined #wayland
cvmn has quit [Remote host closed the connection]
slattann has left #wayland [#wayland]
eroux has joined #wayland
hardening_ has quit [Ping timeout: 480 seconds]
kinlo has joined #wayland
sillyslux has joined #wayland
hardening has joined #wayland
zebrag has joined #wayland
jgrulich has quit [Remote host closed the connection]
jgrulich has joined #wayland
off^ has quit [Remote host closed the connection]
rgallaispou has joined #wayland
agd5f_ has joined #wayland
shankaru has quit [Quit: Leaving.]
agd5f_ has quit []
agd5f_ has joined #wayland
maxzor has joined #wayland
agd5f_ has quit []
agd5f has quit [Ping timeout: 480 seconds]
agd5f has joined #wayland
jgrulich has quit [Ping timeout: 480 seconds]
Satan has joined #wayland
rgallaispou has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
Satan has quit [Quit: Bad stuff happened]
Satan has joined #wayland
Satan has quit [Quit: Bad stuff happened]
l4s8g has quit []
l4s8g has joined #wayland
l4s8g has joined #wayland
l4s8g has quit []
l4s8g has joined #wayland
l4s8g has quit [Ping timeout: 480 seconds]
devilhorns has quit []
tzimmermann has joined #wayland
Seirdy has joined #wayland
mvlad has quit [Remote host closed the connection]
Satan has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
l4s8g has joined #wayland
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fmuellner has joined #wayland
l4s8g has quit [Ping timeout: 480 seconds]
peeterm_ has quit [Read error: Connection reset by peer]
danvet has quit [Ping timeout: 480 seconds]
peeterm has joined #wayland
maxzor_ has joined #wayland
fmuellner has quit [Remote host closed the connection]
fmuellner_ has joined #wayland
l4s8g has joined #wayland
l4s8g has quit [Remote host closed the connection]
ahartmetz has joined #wayland
spstarr has quit [Remote host closed the connection]