From 845642e23ef0039044e4df0d9846e50608ebe595 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 20 Nov 2025 12:13:36 +0100 Subject: [PATCH] include: move PropertyPtr from property.h to window.h The property.h file is deprecated and going to be removed, so move over the typedef to window.h -- also drivers needing it already including window.h one way or another. Signed-off-by: Enrico Weigelt, metux IT consult --- include/property.h | 2 -- include/window.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/property.h b/include/property.h index 5782565070..79469d94bc 100644 --- a/include/property.h +++ b/include/property.h @@ -49,8 +49,6 @@ SOFTWARE. #include "window.h" -typedef struct _Property *PropertyPtr; - extern _X_EXPORT int dixChangeWindowProperty(ClientPtr pClient, WindowPtr pWin, Atom property, diff --git a/include/window.h b/include/window.h index 8b5dcf2556..b5c779d297 100644 --- a/include/window.h +++ b/include/window.h @@ -71,6 +71,7 @@ struct _Cursor; typedef struct _BackingStore *BackingStorePtr; typedef struct _Window *WindowPtr; +typedef struct _Property *PropertyPtr; enum RootClipMode { ROOT_CLIP_NONE = 0, /**< resize the root window to 0x0 */