diff --git a/hw/xnest/meson.build b/hw/xnest/meson.build index d01b871db7..332278aa46 100644 --- a/hw/xnest/meson.build +++ b/hw/xnest/meson.build @@ -45,7 +45,7 @@ executable( libxserver_xi_stubs, libxserver_xkb_stubs, ], - c_args: [ '-DHAVE_XNEST_CONFIG_H', '-DDISABLE_EXT_COMPOSITE', '-DDISABLE_EXT_DPMS', '-DISABLE_EXT_MITSHM' ], + c_args: [ '-DHAVE_XNEST_CONFIG_H', '-DDISABLE_EXT_COMPOSITE', '-DISABLE_EXT_MITSHM' ], install: true, ) diff --git a/mi/miinitext.c b/mi/miinitext.c index a5882787b6..91120c3833 100644 --- a/mi/miinitext.c +++ b/mi/miinitext.c @@ -79,10 +79,6 @@ SOFTWARE. #endif /* some DDXes must explicitly prohibit some extensions */ -#ifdef DISABLE_EXT_DPMS -#undef DPMSExtension -#endif - #ifdef DISABLE_EXT_MITSHM #undef MITSHM #undef CONFIG_MITSHM