compositor-drm: Return the newly added mode in drm_output_add_mode()
authorAnder Conselvan de Oliveira <conselvan2@gmail.com>
Thu, 9 Aug 2012 13:45:00 +0000 (16:45 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 9 Aug 2012 18:40:12 +0000 (14:40 -0400)
commit42c46466ab7e4598e68fe5da5cb1cf9e5b540f43
tree82aa320df501415c37cd2c419e2ceeaeee8e5c6d
parentdc79e6d2892475219e6bbbc52a7a34032306249a
compositor-drm: Return the newly added mode in drm_output_add_mode()

Most of the times the caller will look at the output's mode list to get
the new mode, so just return that instead.
src/compositor-drm.c