From f1d87a38aee6e85ed2210ce4739ea16257e04342 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 26 Feb 2025 17:52:30 +0100 Subject: [PATCH] Revert "mi: drop now obsolete mioverlay.h" This reverts commit 6825f89cd23e1595ecb016834b38683d2a617d3d. Requested by Nvidia - their proprietary driver still needs it. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/xfree86/sdksyms.sh | 1 + mi/meson.build | 1 + mi/mioverlay.h | 12 ++++++++++++ 3 files changed, 14 insertions(+) create mode 100644 mi/mioverlay.h diff --git a/hw/xfree86/sdksyms.sh b/hw/xfree86/sdksyms.sh index 74ffd8994..43c45698b 100755 --- a/hw/xfree86/sdksyms.sh +++ b/hw/xfree86/sdksyms.sh @@ -199,6 +199,7 @@ cat > sdksyms.c << EOF #include "mizerarc.h" #include "micoord.h" #include "mistruct.h" +#include "mioverlay.h" /* randr/Makefile.am */ diff --git a/mi/meson.build b/mi/meson.build index 47615b699..74595494e 100644 --- a/mi/meson.build +++ b/mi/meson.build @@ -32,6 +32,7 @@ hdrs_mi = [ 'migc.h', 'mi.h', 'miline.h', + 'mioverlay.h', 'mipointer.h', 'mipointrst.h', 'mistruct.h', diff --git a/mi/mioverlay.h b/mi/mioverlay.h new file mode 100644 index 000000000..857491dd3 --- /dev/null +++ b/mi/mioverlay.h @@ -0,0 +1,12 @@ + +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + +#ifndef __MIOVERLAY_H +#define __MIOVERLAY_H + +typedef void (*miOverlayTransFunc) (ScreenPtr, int, BoxPtr); +typedef Bool (*miOverlayInOverlayFunc) (WindowPtr); + +#endif /* __MIOVERLAY_H */