client: Discard proxies with no implementation at dispatch time
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 11 Oct 2012 21:12:50 +0000 (17:12 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 11 Oct 2012 21:12:50 +0000 (17:12 -0400)
commit1849534736dea14b97d9e91cd90e75a8a1e5de9f
treef3e1f406bc57a267b15eeeef36b81722a99a49a5
parentd4cc1cd098a4e01258aba38f94462cd44eceb1e3
client: Discard proxies with no implementation at dispatch time

We need to queue up events even if a proxy doesn't have an implementation
(listener).  In case of server created new objects, the client haven't
had a chance to set the listener when the first events to the new object
come in.  So now we always queue up events and discard them at
dispatch time if they don't have a listener at that point.
src/wayland-client.c