XShmGetImage is an awkward API
You can pass x/y offsets into the drawable, but the width and height are derived from the XImage itself. This may not be possible to fix without adding a new request.
You can pass x/y offsets into the drawable, but the width and height are derived from the XImage itself. This may not be possible to fix without adding a new request.