screenshot: Use correct buffer size for transformed outputs.
authorScott Moreau <oreaus@gmail.com>
Sun, 19 Aug 2012 01:52:42 +0000 (19:52 -0600)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 29 Aug 2012 18:47:30 +0000 (14:47 -0400)
commitbb5898341c344d421fce00f479efd66fb14457d3
treefc4a82298845017faaa810d4e4198cedf2ecd2f1
parentfdb4b025019edf9256d76223c9096f564a357f62
screenshot: Use correct buffer size for transformed outputs.

This is a workaround for screenshots with transformed outputs. It reorders
the output positions so the correct buffer size is determined for the final
image. This assumes the outputs are in succession on the x axis. The outputs
are rendered in their transformed state.
clients/screenshot.c