Comment 30 for bug 307306

Revision history for this message
Peter Clifton (pcjc2) wrote :

My local kludgy workaround for now is this:

-- gnome-desktop-2.25.5.orig/libgnome-desktop/gnome-rr.c
+++ gnome-desktop-2.25.5/libgnome-desktop/gnome-rr.c
@@ -512,6 +512,8 @@

        switch (event->subtype)
        {
+ case RRNotify_OutputProperty:
+ return GDK_FILTER_CONTINUE;
        default:
            break;
        }

Just changing the mask of events we're asking for doesn't seem to help - possibly because GDK already set the mask, and included the property change notifications.

Realistically, we should not be waking up so many clients for such changes, and Xrandr needs to grow some more selective ways to mask properties we might be interested in.

Also, a complete family of "Curretn" method call variants to be used in notification callbacks would be a useful thing to have in Xrandr 1.4.