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 <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-02-29 14:35:48 +01:00
parent 5c96b80a8d
commit 9d1937cd79

View File

@ -34,21 +34,22 @@ and Jim Haggerty of Metheus.
#include <dix-config.h>
#include <stdio.h>
#include <assert.h>
#include <X11/Xmd.h>
#include <X11/extensions/recordproto.h>
#include "dix/cursor_priv.h"
#include "dix/eventconvert.h"
#include "miext/extinit_priv.h"
#include "dixstruct.h"
#include "extnsionst.h"
#include <X11/extensions/recordproto.h>
#include "set.h"
#include "swaprep.h"
#include "inputstr.h"
#include "scrnintstr.h"
#include <stdio.h>
#include <assert.h>
#ifdef XINERAMA
#include "globals.h"
#include "panoramiX.h"