--- vlc-0.8.6b/modules/video_output/x11/xcommon.orig	2007-06-09 18:43:36.000000000 +0200
+++ vlc-0.8.6b/modules/video_output/x11/xcommon.c	2007-06-09 17:43:23.000000000 +0200
@@ -2331,8 +2331,10 @@
         return 0;
 
     case 150: /* MIT-SHM */
+    case 148: /* MIT-SHM */
+    case 145: /* MIT-SHM */
     case 146: /* MIT-SHM too, what gives? */
-        if( event->minor_code == X_ShmAttach )
+        if( event->minor_code == X_ShmAttach || event->minor_code == X_ShmGetImage)
         {
             b_shm = VLC_FALSE;
             return 0;
