diff options
Diffstat (limited to 'x11vnc/cleanup.c')
| -rw-r--r-- | x11vnc/cleanup.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c index 9081db1..7d57d90 100644 --- a/x11vnc/cleanup.c +++ b/x11vnc/cleanup.c @@ -276,6 +276,13 @@ int trap_getimage_xerror(Display *d, XErrorEvent *error) { return 0; } +/* Are silly Xorg people removing X_ShmAttach from XShm.h? */ +/* INDEED! What stupid, myopic morons... */ +/* Maintenance Monkeys busy typing at their keyboards... */ +#ifndef X_ShmAttach +#define X_ShmAttach 1 +#endif + static int Xerror(Display *d, XErrorEvent *error) { X_UNLOCK; |
