Commit 7e0ac127 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Warn about buggy X11 connections

parent 6017c758
...@@ -2989,7 +2989,14 @@ static int X11ErrorHandler( Display * display, XErrorEvent * event ) ...@@ -2989,7 +2989,14 @@ static int X11ErrorHandler( Display * display, XErrorEvent * event )
#ifdef HAVE_SYS_SHM_H #ifdef HAVE_SYS_SHM_H
if( event->request_code == i_shm_major ) /* MIT-SHM */ 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; return i_shm_major = 0;
}
#endif #endif
#ifndef HAVE_OSSO #ifndef HAVE_OSSO
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment