xnest: no need for DISABLE_EXT_DPMS anymore

All the other DDX'es (except xfree86) are already handling it the same
way: the extension is present, but the ScreenRec->DPMS() pointer left
NULL (callers already checking for that), so no need for any special
magic for Xnest.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2026-06-15 15:10:26 +02:00 • committed by Enrico Weigelt
commit 29cc25065b
2 changed files with 1 additions and 5 deletions

View file

@ -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,
)

View file

@ -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