Re: Resource id allocation on server side

2012-07-17 Thread Kristian Høgsberg
On Tue, Jul 17, 2012 at 11:52:02AM +, Fiedler, Mathias wrote: > Hi, > > I'm facing an issue when the client tries to create a new object > with an id bigger than the current maximum id on server-side +1. Is > it correct that those ids will be silently ignored? > E.g. wl_client_add_resource()

Resource id allocation on server side

2012-07-17 Thread Fiedler, Mathias
Hi, I'm facing an issue when the client tries to create a new object with an id bigger than the current maximum id on server-side +1. Is it correct that those ids will be silently ignored? E.g. wl_client_add_resource() would call wl_map_insert_at() return -1 which isn't checked. For example, t