[PATCH] RROutputPropertyNotifyMask is also a valid mask.

Tomas Carnecky tom at dbservice.com
Thu Jul 31 04:25:29 PDT 2008


Without this change RRSelectInput(dpy, RROutputPropertyNotifyMask)  
fails with BadValue.
---

Disclaimer: I didn't even compile-test it, but what could go wrong  
with this change?

randr/rrdispatch.c |    3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/randr/rrdispatch.c b/randr/rrdispatch.c
index 5525427..0de415c 100644
--- a/randr/rrdispatch.c
+++ b/randr/rrdispatch.c
@@ -85,7 +85,8 @@ ProcRRSelectInput (ClientPtr client)

     if (stuff->enable & (RRScreenChangeNotifyMask|
             RRCrtcChangeNotifyMask|
-             RROutputChangeNotifyMask))
+             RROutputChangeNotifyMask|
+             RROutputPropertyNotifyMask))
     {
    ScreenPtr    pScreen = pWin->drawable.pScreen;
    rrScrPriv    (pScreen);
-- 
1.5.6.4





More information about the xorg mailing list