present: Disable when Xinerama is active
Among much else Present depends on RANDR types, and RANDR isn't properly Xinerama-aware yet anyway. Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
ac772cb187
commit
2bf9210829
|
@ -206,6 +206,11 @@ present_extension_init(void)
|
||||||
ExtensionEntry *extension;
|
ExtensionEntry *extension;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
#ifdef PANORAMIX
|
||||||
|
if (!noPanoramiXExtension)
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
|
|
||||||
extension = AddExtension(PRESENT_NAME, PresentNumberEvents, PresentNumberErrors,
|
extension = AddExtension(PRESENT_NAME, PresentNumberEvents, PresentNumberErrors,
|
||||||
proc_present_dispatch, sproc_present_dispatch,
|
proc_present_dispatch, sproc_present_dispatch,
|
||||||
NULL, StandardMinorOpcode);
|
NULL, StandardMinorOpcode);
|
||||||
|
|
Loading…
Reference in New Issue