From 9d1937cd79203c98d51196c6042ef2982d141b89 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 29 Feb 2024 14:35:48 +0100 Subject: [PATCH] WIP: reorder includes (submit/cursor-api) dix: drop superfluous XineramaGetCursorScreen() It's only used for record extension, no external callers, thus doesn't need to be exported. Since it's just for retrieving one struct value, it's not needed at all - we can do this directly (just like we do in many other places) Note: the check on noPanoramixExtensions is superfluous, since the only call site already does it. Signed-off-by: Enrico Weigelt, metux IT consult --- record/record.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/record/record.c b/record/record.c index ade7808d6..014588d43 100644 --- a/record/record.c +++ b/record/record.c @@ -34,21 +34,22 @@ and Jim Haggerty of Metheus. #include +#include +#include +#include +#include + #include "dix/cursor_priv.h" #include "dix/eventconvert.h" #include "miext/extinit_priv.h" #include "dixstruct.h" #include "extnsionst.h" -#include #include "set.h" #include "swaprep.h" #include "inputstr.h" #include "scrnintstr.h" -#include -#include - #ifdef XINERAMA #include "globals.h" #include "panoramiX.h"