diff options
author | Daniel Stone <daniels@collabora.com> | 2014-04-03 18:22:50 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-04-03 16:40:03 -0700 |
commit | b851ca968b7cce6d1a6438c05d3d5c8832249704 (patch) | |
tree | 462dbf3754c25cae17359399a0b469d564894078 /include/scrnintstr.h | |
parent | b4d0bec22c15930abf13a7fb9d684208ccd56b1d (diff) |
Add pScreen->NameWindowPixmap hook
This hook allows drivers to be notified when a pixmap gains a new ID.
(ABI break.)
Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include/scrnintstr.h')
-rw-r--r-- | include/scrnintstr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/scrnintstr.h b/include/scrnintstr.h index 5197c79f5..6acdadd7a 100644 --- a/include/scrnintstr.h +++ b/include/scrnintstr.h @@ -356,6 +356,8 @@ typedef Bool (*ReplaceScanoutPixmapProcPtr)(DrawablePtr, PixmapPtr, Bool); typedef WindowPtr (*XYToWindowProcPtr)(ScreenPtr pScreen, SpritePtr pSprite, int x, int y); +typedef int (*NameWindowPixmapProcPtr)(WindowPtr, PixmapPtr, CARD32); + typedef struct _Screen { int myNum; /* index of this instance in Screens[] */ ATOM id; @@ -466,6 +468,7 @@ typedef struct _Screen { SetWindowPixmapProcPtr SetWindowPixmap; GetScreenPixmapProcPtr GetScreenPixmap; SetScreenPixmapProcPtr SetScreenPixmap; + NameWindowPixmapProcPtr NameWindowPixmap; PixmapPtr pScratchPixmap; /* scratch pixmap "pool" */ |