Some include tweaks

This commit is contained in:
Kim Woelders 2022-12-21 20:05:56 +01:00
parent fcdcf8f5ea
commit 53b82bbd26
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
/*
* Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
* Copyright (C) 2004-2021 Kim Woelders
* Copyright (C) 2004-2022 Kim Woelders
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
@ -26,7 +26,6 @@
#include <X11/Xlib.h>
#include <X11/cursorfont.h>
#if USE_COMPOSITE
#include <X11/extensions/Xfixes.h>
#include <X11/extensions/Xrender.h>
#endif

View File

@ -39,7 +39,6 @@
#include <X11/extensions/shape.h>
#include <X11/extensions/Xcomposite.h>
#include <X11/extensions/Xdamage.h>
#include <X11/extensions/Xfixes.h>
#include <X11/extensions/Xrender.h>
#if USE_XPRESENT
#include <X11/extensions/Xpresent.h>

View File

@ -34,6 +34,10 @@
#include <X11/extensions/Xrender.h>
#define RENDER_VERSION VERS(RENDER_MAJOR, RENDER_MINOR)
#endif
#if USE_COMPOSITE
#include <X11/extensions/Xcomposite.h>
#include <X11/extensions/Xfixes.h>
#endif
#if USE_XI2
#include <X11/extensions/XInput2.h>
#endif
@ -1992,8 +1996,6 @@ EGetTimestamp(void)
#if USE_COMPOSITE
#include <X11/extensions/Xcomposite.h>
EX_Pixmap
EWindowGetPixmap(const Win win)
{