Re: BadImplementation X Window System error with GTK+ 2.6.1



On Mon, Jan 17, 2005 at 05:40:23PM -0600, Albert Chin wrote:
> If I uncomment:
>   XSetErrorHandler (gdk_x_error);
>   XSetIOErrorHandler (gdk_x_io_error);
> from gdk/x11/gdkmain-x11.c, I get more info on the error:
>   $ /tmp/test/bin/gtk-demo
>   X Error of failed request:  BadImplementation (server does not implement operation)
>     Major opcode of failed request:  152 (RENDER)
>     Minor opcode of failed request:  10 (RenderTrapezoids)
>     Serial number of failed request:  487
>     Current serial number in output stream:  728
>   X Error of failed request:  BadImplementation (server does not implement operation)
> 
> Displaying to an X server without the RENDER extension works fine.

Ok, the error is coming from this call in gdk/x11/gdkdrawable-x11.c:
  XRenderCompositeTrapezoids (x11display->xdisplay, PictOpOver,
                              _gdk_x11_gc_get_fg_picture (gc),
                              XftDrawPicture (draw),
                              x11display->mask_format,
                              - gc->ts_x_origin, - gc->ts_y_origin,
                              xtrapezoids, n_trapezoids);

-- 
albert chin (china thewrittenword com)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]