mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-09-29 23:54:53 +00:00
Mark non-XShm support as buggy
This commit is contained in:
parent
f72976a566
commit
2f2698ed9e
@ -25,6 +25,8 @@
|
|||||||
#include <sys/ipc.h>
|
#include <sys/ipc.h>
|
||||||
#include <sys/shm.h>
|
#include <sys/shm.h>
|
||||||
#include <X11/extensions/XShm.h> /* MITSHM! */
|
#include <X11/extensions/XShm.h> /* MITSHM! */
|
||||||
|
#else
|
||||||
|
#error non-XShm is buggy ... key autorepeat delay is somehow set too low
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static Display *display;
|
static Display *display;
|
||||||
@ -715,7 +717,7 @@ static void _create_image() {
|
|||||||
ERRQUIT("no memory for image data!");
|
ERRQUIT("no memory for image data!");
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG("Creating regular XImage");
|
LOG("WARNING!!! No XShm extension ... creating regular XImage");
|
||||||
image = XCreateImage(display, visualinfo.visual, visualinfo.depth, ZPixmap, 0 /*offset*/, data, width, height, 8, width*bitmap_pad /*bytes_per_line*/);
|
image = XCreateImage(display, visualinfo.visual, visualinfo.depth, ZPixmap, 0 /*offset*/, data, width, height, 8, width*bitmap_pad /*bytes_per_line*/);
|
||||||
|
|
||||||
if (!image) {
|
if (!image) {
|
||||||
|
Loading…
Reference in New Issue
Block a user