sdk: reinstate COMPOSITE symbol

Composite extension is always enabled for pretty long time now, but some
drivers (eg. xf86-video-intel) still relying on this symbol being set,
otherwise assuming to run w/o composite and doing crazy things.

Fixes: d708b28adc
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-06-19 11:16:47 +02:00
parent ca5fb14d05
commit fe4bc433a4
2 changed files with 6 additions and 0 deletions

View File

@ -204,6 +204,9 @@ conf_data.set('TCPCONN', '1')
conf_data.set('UNIXCONN', host_machine.system() != 'windows' ? '1' : false) conf_data.set('UNIXCONN', host_machine.system() != 'windows' ? '1' : false)
conf_data.set('IPv6', build_ipv6 ? '1' : false) conf_data.set('IPv6', build_ipv6 ? '1' : false)
# some drivers (eg. xf86-video-intel) still relying on this symbol being set
conf_data.set('COMPOSITE', '1')
conf_data.set('DAMAGE', '1') conf_data.set('DAMAGE', '1')
conf_data.set('DBE', '1') conf_data.set('DBE', '1')
conf_data.set('DGA', build_dga ? '1' : false) conf_data.set('DGA', build_dga ? '1' : false)

View File

@ -23,6 +23,9 @@
/* Default font path */ /* Default font path */
#mesondefine COMPILEDDEFAULTFONTPATH #mesondefine COMPILEDDEFAULTFONTPATH
/* Support Composite Extension */
#mesondefine COMPOSITE
/* Build DPMS extension */ /* Build DPMS extension */
#mesondefine DPMSExtension #mesondefine DPMSExtension