diff options
author | runge <runge@karlrunge.com> | 2009-10-17 22:36:54 -0400 |
---|---|---|
committer | runge <runge@karlrunge.com> | 2009-10-17 22:36:54 -0400 |
commit | 35c42cf3a64b633ca07f0fe47182955736b8c5e1 (patch) | |
tree | e556e94d79e678b44687e519cd18103172227fcd /x11vnc/cleanup.c | |
parent | 387e189b37a1456ee5a4df52d495a9f31d01306a (diff) | |
download | libtdevnc-35c42cf3a64b633ca07f0fe47182955736b8c5e1.tar.gz libtdevnc-35c42cf3a64b633ca07f0fe47182955736b8c5e1.zip |
Workaround for inane X_ShmAttach incompatibility in Xorg, -solid support in xfce, showrfbauth option.
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; |