core: Cleanup header includes

There's some X11 includes we no longer need in these files.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2683>
This commit is contained in:
Carlos Garnacho 2022-10-21 20:54:39 +02:00 committed by Marge Bot
parent d687e5634d
commit e88891a1d5
4 changed files with 0 additions and 6 deletions

View File

@ -34,7 +34,6 @@
#include "core/boxes-private.h" #include "core/boxes-private.h"
#include <math.h> #include <math.h>
#include <X11/Xutil.h>
#include "meta/util.h" #include "meta/util.h"

View File

@ -28,8 +28,6 @@
#include "meta/display.h" #include "meta/display.h"
#include <glib.h> #include <glib.h>
#include <X11/extensions/sync.h>
#include <X11/Xlib.h>
#include "clutter/clutter.h" #include "clutter/clutter.h"
#include "core/keybindings-private.h" #include "core/keybindings-private.h"

View File

@ -34,8 +34,6 @@
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#include <X11/Xlib.h> /* must explicitly be included for Solaris; #326746 */
#include <X11/Xutil.h> /* Just for the definition of the various gravities */
#ifdef HAVE_SYS_PRCTL #ifdef HAVE_SYS_PRCTL
#include <sys/prctl.h> #include <sys/prctl.h>

View File

@ -35,7 +35,6 @@
#include "meta/workspace.h" #include "meta/workspace.h"
#include <X11/Xatom.h>
#include <string.h> #include <string.h>
#include "backends/meta-backend-private.h" #include "backends/meta-backend-private.h"