wayland: Don't include gdkinternals.h

This commit is contained in:
Benjamin Otte 2021-09-24 21:49:38 +02:00
parent d4f9d38368
commit 279f9aa6d3
12 changed files with 16 additions and 22 deletions

View File

@ -26,7 +26,6 @@
#include "gdkwayland.h"
#include "gdkprivate-wayland.h"
#include "gdkapplaunchcontextprivate.h"
#include "gdkinternals.h"
#include "gdkintl.h"
typedef struct {

View File

@ -22,7 +22,6 @@
#include "gdkprivate-wayland.h"
#include "gdkinternals.h"
#include "gdkprofilerprivate.h"
static const cairo_user_data_key_t gdk_wayland_cairo_context_key;

View File

@ -17,28 +17,25 @@
#include "config.h"
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include "gdkdevice-wayland-private.h"
#include <string.h>
#include "gdksurfaceprivate.h"
#include "gdktypes.h"
#include "gdkclipboard-wayland.h"
#include "gdkclipboardprivate.h"
#include "gdkprivate-wayland.h"
#include "gdkseat-wayland.h"
#include "gdkwayland.h"
#include "gdkkeysyms.h"
#include "gdkkeysprivate.h"
#include "gdkcursorprivate.h"
#include "gdkdeviceprivate.h"
#include "gdkdevicepadprivate.h"
#include "gdkdevicetoolprivate.h"
#include "gdkdevice-wayland-private.h"
#include "gdkdropprivate.h"
#include "gdkeventsprivate.h"
#include "gdkkeysprivate.h"
#include "gdkkeysyms.h"
#include "gdkprimary-wayland.h"
#include "gdkprivate-wayland.h"
#include "gdkseat-wayland.h"
#include "gdkseatprivate.h"
#include "gdksurfaceprivate.h"
#include "gdktypes.h"
#include "gdkwayland.h"
#include "gdk-private.h"
#include "pointer-gestures-unstable-v1-client-protocol.h"
@ -46,6 +43,10 @@
#include <xkbcommon/xkbcommon.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/mman.h>
#if defined(HAVE_DEV_EVDEV_INPUT_H)

View File

@ -42,7 +42,6 @@
#include <glib.h>
#include <gdk/gdkkeys.h>
#include <gdk/gdksurface.h>
#include <gdk/gdkinternals.h>
#include <gdk/gdk.h> /* For gdk_get_program_class() */
#include "gdkdisplayprivate.h"

View File

@ -19,7 +19,6 @@
#include "gdkdragprivate.h"
#include "gdkinternals.h"
#include "gdkprivate-wayland.h"
#include "gdkcontentformats.h"
#include "gdkdisplay-wayland.h"

View File

@ -19,7 +19,6 @@
#include "gdkdropprivate.h"
#include "gdkinternals.h"
#include "gdkprivate-wayland.h"
#include "gdkcontentformats.h"
#include "gdkdisplay-wayland.h"

View File

@ -17,9 +17,10 @@
#include "config.h"
#include "gdkinternals.h"
#include "gdkprivate-wayland.h"
#include "gdkeventsprivate.h"
#include <unistd.h>
#include <errno.h>

View File

@ -31,7 +31,6 @@
#include "gdkwaylandsurface.h"
#include "gdkprivate-wayland.h"
#include "gdkinternals.h"
#include "gdk-private.h"
#include "gdksurfaceprivate.h"
#include "gdkprofilerprivate.h"

View File

@ -25,7 +25,6 @@
#include "gdkglcontextprivate.h"
#include "gdkdisplayprivate.h"
#include "gdksurface.h"
#include "gdkinternals.h"
#include <epoxy/egl.h>

View File

@ -38,7 +38,6 @@
#include <xkbcommon/xkbcommon.h>
#include "gdkinternals.h"
#define WL_SURFACE_HAS_BUFFER_SCALE 3
#define WL_POINTER_HAS_FRAME 5

View File

@ -22,6 +22,7 @@
#include "gdkdeviceprivate.h"
#include "gdkdisplay-wayland.h"
#include "gdkdragsurfaceprivate.h"
#include "gdkeventsprivate.h"
#include "gdkframeclockidleprivate.h"
#include "gdkglcontext-wayland.h"
#include "gdkmonitor-wayland.h"

View File

@ -26,7 +26,6 @@
#include "gdkvulkancontext-wayland.h"
#include "gdkinternals.h"
#include "gdkwaylanddisplay.h"
#include "gdkwaylandsurface.h"
#include "gdkprivate-wayland.h"