Am 23.06.09, 11:49 +0200 schrieb Maarten Maathuis: > Please don't think i know what you are actually trying to do, i solved > this like you would a puzzle. First guess happened to work.
Ah The example shows what happens in two different applications. The first one opens a display with XOpenDisplay() and places a region with XFixesCreateRegion(). Then it closed the display with XCloseDisplay(). This is the first half of code. The second application is some observer, which shall look what events are going on on the display. Its simplified code is in the second half of my example. It does a usual Xorg connect through XOpenDisplay(). The second app is the one calling XFixesFetchRegion() and crashes in my example code. But the intention is not to let it crash. It shall continue to log the regions or report a error and log other events. kind regards Kai-Uwe Behrmann -- developing for colour management www.behrmann.name + www.oyranos.org _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg