x_get_pictform_for_visual should return const *

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-02-07 00:18:47 +00:00
parent aa9c439cc6
commit 7d00b89364
4 changed files with 12 additions and 11 deletions

View File

@ -96,7 +96,7 @@ struct win {
int xinerama_scr;
#endif
/// Window visual pict format;
xcb_render_pictforminfo_t *pictfmt;
const xcb_render_pictforminfo_t *pictfmt;
/// Window painting mode.
winmode_t mode;
/// Whether the window has been damaged at least once.