xserver-multidpi/hw/xnest
Radek Doulik 65fca55884 xnest: Ignore GetImage() error in xnestGetImage()
When an Xnest instance is not viewable it will crash when a client in
that instance calls GetImage. This is because the Xnest server will
itself receives a BadMatch error.
This patch ignores the error. The application which has requested the
image will receive garbage - this however is fully legal according
to the specs as obscured areas will always contain garbage if there
isn't some sort of backing store as discussed in
https://bugs.freedesktop.org/show_bug.cgi?id=9488
The applied patch is a version from Dadek Doulik.

v2: Call XSync() before changing error handlers as suggested by
    Daniel Stone <daniel@fooishbar.org>.

Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Egbert Eich <eich@freedesktop.org>
2013-09-10 13:26:26 -04:00
..
man man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
.gitignore Xnest: build Xnest man pages using XORG_MANPAGE_SECTIONS 2011-01-18 15:10:17 -08:00
Args.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Args.h Fix typo in header guard. 2013-07-17 18:11:41 -07:00
Color.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Color.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Cursor.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Display.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Display.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Drawable.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Events.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Events.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Font.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
GC.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
GCOps.c xnest: Ignore GetImage() error in xnestGetImage() 2013-09-10 13:26:26 -04:00
GCOps.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Handlers.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Handlers.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
icon R6.6 is the Xorg base-line 2003-11-14 15:54:54 +00:00
Init.c os: Pass the FatalError message to OsVendorFatalError 2012-03-24 01:07:05 -07:00
Init.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Keyboard.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Keyboard.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Makefile.am Replace NO_HW_ONLY_EXTS with Xorg DDX test 2012-07-10 00:31:02 -07:00
Pixmap.c Xnest: Implement xnestModifyPixmapHeader 2013-09-10 13:26:26 -04:00
Pointer.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Pointer.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Screen.c Xnest: Implement xnestModifyPixmapHeader 2013-09-10 13:26:26 -04:00
Screen.h api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
screensaver R6.6 is the Xorg base-line 2003-11-14 15:54:54 +00:00
Visual.c dix: Remove #includes of mibstore.h 2012-09-23 10:31:27 -07:00
Visual.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Window.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
XNCursor.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xnest-config.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Xnest.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
XNFont.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
XNGC.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
XNPixmap.h Xnest: Implement xnestModifyPixmapHeader 2013-09-10 13:26:26 -04:00
XNWindow.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00