Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XCB: Check screen size in boilerplate
Trying to create a window for drawing that is larger than the available screen space is a bad idea. When the test finishes and tries to grab the resulting image from the X server, the window's area that is outside of the screen will have undefined content. Signed-off-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
- Loading branch information