summaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-sis-intel/files/patch-src-sis_mergedfb.c
blob: b0f4c02c524007dc58abd0f028c27b5be28b7647 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- src/sis_mergedfb.c.orig	2008-06-06 00:39:10.000000000 +0400
+++ src/sis_mergedfb.c	2008-06-06 00:32:21.000000000 +0400
@@ -2631,13 +2631,13 @@
 
     REQUEST_SIZE_MATCH(xXineramaSelectInputReq);
 
-    pWin = SecurityLookupWindow(stuff->window, client, SecurityWriteAccess);
+    pWin = SecurityLookupWindow(stuff->window, client, DixWriteAccess);
     if(!pWin)
        return BadWindow;
 
     pHead = (SiSXineramaEventPtr *)SecurityLookupIDByType(client,
 						 pWin->drawable.id, EventType,
-						 SecurityWriteAccess);
+						 DixWriteAccess);
 
     if(stuff->enable & (XineramaLayoutChangeNotifyMask)) {