commit | a85118c1b85df6fbf8f896dca971a5b79a94da71 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason@jlekstrand.net> | Thu Jun 27 20:17:02 2013 -0500 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Wed Jul 03 14:52:06 2013 -0400 |
tree | 30390d8883a0e823d62a1c7dc9872b33b7e8e111 | |
parent | d27cb096adf71139734b434d60cbb28bd4a510b1 [diff] |
Use wl_resource_create() for creating resources This commit sets the version numbers for all added/created objects. The wl_compositor.create_surface implementation was altered to create a surface with the same version as the underlying wl_compositor. Since no other "child interfaces" have version greater than 1, they were all hard-coded to version 1. Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>