提交 1a51d5fa 编写于 作者: F fryshorts

linux-xshm: Improve source struct.

This adds documentation to the source struct and moves one bool to the
end to avoid a hole due to alignment.
上级 b3312a76
......@@ -28,18 +28,23 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define XSHM_DATA(voidptr) struct xshm_data *data = voidptr;
struct xshm_data {
/** Xlib display object */
Display *dpy;
/** Xlib screen object */
Screen *screen;
/** root coordinates for the capture */
int_fast32_t x_org, y_org;
/** size for the capture */
int_fast32_t width, height;
/** shared memory management object */
xshm_t *xshm;
/** the texture used to display the capture */
gs_texture_t *texture;
bool show_cursor;
/** cursor object for displaying the server */
xcursor_t *cursor;
/** user setting - if cursor should be displayed */
bool show_cursor;
/** set if xinerama is available and active on the screen */
bool use_xinerama;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册