[PATCH 01/19] damageext: dixLookupDrawable(M_WINDOW) -> dixLookupWindow

Adam Jackson ajax at redhat.com
Thu Sep 25 10:37:17 PDT 2014


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 damageext/damageext.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/damageext/damageext.c b/damageext/damageext.c
index 886f56d..4928379 100644
--- a/damageext/damageext.c
+++ b/damageext/damageext.c
@@ -687,9 +687,8 @@ PanoramiXDamageCreate(ClientPtr client)
                 rc = BadAlloc;
             } else {
                 damage->damage[i] = pDamage;
-                rc = dixLookupDrawable(&pDrawable, draw->info[i].id, client,
-                                       M_WINDOW,
-                                       DixGetAttrAccess | DixReadAccess);
+                rc = dixLookupWindow((WindowPtr *)&pDrawable, draw->info[i].id,
+                                     client, DixGetAttrAccess | DixReadAccess);
             }
             if (rc != Success)
                 break;
-- 
1.9.3



More information about the xorg-devel mailing list