summaryrefslogtreecommitdiff
path: root/uxa/uxa-priv.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-12-15 15:43:34 -0800
committerKeith Packard <keithp@keithp.com>2009-01-06 09:31:39 -0800
commit632f816c72cb4b48b690fd92d1cc1d5a9c9285c7 (patch)
tree80af87672f9a8ad3978a76bf0d6c951abe4b1b3d /uxa/uxa-priv.h
parent90b28a56553d809374fa6d9b9529b7a8b583488c (diff)
uxa: handle uxa_prepare_access failure
uxa_prepare_access may fail to map the pixmap into user space. Recover from this without crashing. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'uxa/uxa-priv.h')
-rw-r--r--uxa/uxa-priv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/uxa/uxa-priv.h b/uxa/uxa-priv.h
index 0f9cfbf4..f4b3ceef 100644
--- a/uxa/uxa-priv.h
+++ b/uxa/uxa-priv.h
@@ -182,14 +182,14 @@ typedef struct {
*/
void exaDDXDriverInit (ScreenPtr pScreen);
-void
+Bool
uxa_prepare_access_window(WindowPtr pWin);
void
uxa_finish_access_window(WindowPtr pWin);
/* uxa-unaccel.c */
-void
+Bool
uxa_prepare_access_gc(GCPtr pGC);
void
@@ -351,7 +351,7 @@ uxa_check_composite (CARD8 op,
#endif
/* uxa.c */
-void
+Bool
uxa_prepare_access(DrawablePtr pDrawable, uxa_access_t access);
void