search for: dixprivatekeyregist

Displaying 2 results from an estimated 2 matches for "dixprivatekeyregist".

2017 Mar 29
2
[PATCH xf86-video-nouveau] Do not register hotplug without RandR
...--git a/src/drmmode_display.c b/src/drmmode_display.c index dd9fa27..ae29d9a 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -1556,6 +1556,15 @@ drmmode_udev_notify(int fd, int notify, void *data) } #endif +static bool has_randr(void) +{ +#if HAS_DIXREGISTERPRIVATEKEY + return dixPrivateKeyRegistered(rrPrivKey); +#else + return *rrPrivKey; +#endif +} + static void drmmode_uevent_init(ScrnInfoPtr scrn) { @@ -1564,6 +1573,12 @@ drmmode_uevent_init(ScrnInfoPtr scrn) struct udev *u; struct udev_monitor *mon; + /* RandR will be disabled if Xinerama is active, and so generating + * RR h...
2017 Mar 29
0
[PATCH xf86-video-nouveau] Do not register hotplug without RandR
...index dd9fa27..ae29d9a 100644 > --- a/src/drmmode_display.c > +++ b/src/drmmode_display.c > @@ -1556,6 +1556,15 @@ drmmode_udev_notify(int fd, int notify, void *data) > } > #endif > > +static bool has_randr(void) > +{ > +#if HAS_DIXREGISTERPRIVATEKEY > + return dixPrivateKeyRegistered(rrPrivKey); > +#else > + return *rrPrivKey; > +#endif > +} > + > static void > drmmode_uevent_init(ScrnInfoPtr scrn) > { > @@ -1564,6 +1573,12 @@ drmmode_uevent_init(ScrnInfoPtr scrn) > struct udev *u; > struct udev_monitor *mon; > &g...