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 ca1fd624d1
commit 35f3bc35d0

View File

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