]> git.sesse.net Git - vlc/commitdiff
Warn about buggy X11 connections
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 26 Jun 2008 16:00:37 +0000 (19:00 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 26 Jun 2008 16:00:37 +0000 (19:00 +0300)
modules/video_output/x11/xcommon.c

index a0d0b0efc9b5bce5a7b83de8cea50ee4cd25132d..1bc947d9dc8a793b66ab9718cbb1e0929f3d16d9 100644 (file)
@@ -2989,7 +2989,14 @@ static int X11ErrorHandler( Display * display, XErrorEvent * event )
 
 #ifdef HAVE_SYS_SHM_H
     if( event->request_code == i_shm_major ) /* MIT-SHM */
+    {
+        fprintf( stderr,
+                 "[????????] x11 video output notice:"
+                 " buggy X11 server claims shared memory\n"
+                 "[????????] x11 video output notice:"
+                 " support though it does not work (OpenSSH?)\n" );
         return i_shm_major = 0;
+    }
 #endif
 
 #ifndef HAVE_OSSO