1
0
forked from vitrine/wmaker

Mark where optional XSHM support was made mandatory.

This commit is contained in:
2024-10-31 21:39:22 -04:00
parent 1034a39316
commit ac0de4e9e9

View File

@@ -46,7 +46,9 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
@USE_XSHM@#include <X11/extensions/XShm.h>
// TODO: XSHM support was originally optional.
#include <X11/extensions/XShm.h>
/*
@@ -258,9 +260,10 @@ typedef struct RImage {
typedef struct RXImage {
XImage *image;
@USE_XSHM@ /* Private data. Do not access */
@USE_XSHM@ XShmSegmentInfo info;
@USE_XSHM@ char is_shared;
// TODO: XSHM support was originally optional.
/* Private data. Do not access */
XShmSegmentInfo info;
char is_shared;
} RXImage;