xfree86: dri: use window destructor hook

Wrapping ScreenRec's function pointers is problematic for many reasons,
so use the new window destructor hook instead.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-09-23 15:53:49 +02:00
parent b60581e393
commit 0a50759af4
3 changed files with 5 additions and 30 deletions

View File

@@ -46,7 +46,6 @@ typedef struct dri3_dmabuf_format {
typedef struct dri3_screen_priv {
CloseScreenProcPtr CloseScreen;
ConfigNotifyProcPtr ConfigNotify;
DestroyWindowProcPtr DestroyWindow;
Bool formats_cached;
CARD32 num_formats;