Cleaned up includes

This commit is contained in:
buffet 2019-03-21 22:12:54 +01:00
parent 1ba4b518fa
commit 7efc56adfc
13 changed files with 13 additions and 24 deletions

View file

@ -10,8 +10,6 @@
#include <wayland-server.h> #include <wayland-server.h>
#include <wlr/render/wlr_renderer.h> #include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_data_device.h>
#include <wlr/types/wlr_output_layout.h>
struct kiwmi_desktop { struct kiwmi_desktop {
struct wlr_compositor *compositor; struct wlr_compositor *compositor;

View file

@ -9,9 +9,6 @@
#define KIWMI_DESKTOP_OUTPUT_H #define KIWMI_DESKTOP_OUTPUT_H
#include <wayland-server.h> #include <wayland-server.h>
#include <wlr/types/wlr_output.h>
#include "kiwmi/desktop/desktop.h"
struct kiwmi_output { struct kiwmi_output {
struct wl_list link; struct wl_list link;

View file

@ -8,9 +8,8 @@
#ifndef KIWMI_INPUT_CURSOR_H #ifndef KIWMI_INPUT_CURSOR_H
#define KIWMI_INPUT_CURSOR_H #define KIWMI_INPUT_CURSOR_H
#include <wlr/types/wlr_cursor.h> #include <wayland-server.h>
#include <wlr/types/wlr_output_layout.h> #include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_xcursor_manager.h>
struct kiwmi_cursor { struct kiwmi_cursor {
struct wlr_cursor *cursor; struct wlr_cursor *cursor;

View file

@ -10,8 +10,6 @@
#include <wayland-server.h> #include <wayland-server.h>
#include "kiwmi/input/cursor.h"
struct kiwmi_input { struct kiwmi_input {
struct wl_list keyboards; // struct kiwmi_keyboard::link struct wl_list keyboards; // struct kiwmi_keyboard::link
struct wl_listener new_input; struct wl_listener new_input;

View file

@ -9,9 +9,6 @@
#define KIWMI_INPUT_KEYBOARD_H #define KIWMI_INPUT_KEYBOARD_H
#include <wayland-server.h> #include <wayland-server.h>
#include <wlr/types/wlr_input_device.h>
#include "kiwmi/server.h"
struct kiwmi_keyboard { struct kiwmi_keyboard {
struct wl_list link; struct wl_list link;

View file

@ -8,9 +8,6 @@
#ifndef KIWMI_SERVER_H #ifndef KIWMI_SERVER_H
#define KIWMI_SERVER_H #define KIWMI_SERVER_H
#include <wayland-server.h>
#include <wlr/backend.h>
#include "kiwmi/desktop/desktop.h" #include "kiwmi/desktop/desktop.h"
#include "kiwmi/input/input.h" #include "kiwmi/input/input.h"

View file

@ -10,14 +10,13 @@
#include <stdbool.h> #include <stdbool.h>
#include <wayland-server.h> #include <wayland-server.h>
#include <wlr/render/wlr_renderer.h> #include <wlr/backend.h>
#include <wlr/types/wlr_compositor.h> #include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_data_device.h> #include <wlr/types/wlr_data_device.h>
#include <wlr/types/wlr_output_layout.h> #include <wlr/types/wlr_output_layout.h>
#include "kiwmi/server.h" #include "kiwmi/server.h"
#include "kiwmi/desktop/output.h" #include "kiwmi/desktop/output.h"
#include "kiwmi/input/cursor.h"
bool bool
desktop_init(struct kiwmi_desktop *desktop, struct wlr_renderer *renderer) desktop_init(struct kiwmi_desktop *desktop, struct wlr_renderer *renderer)

View file

@ -13,10 +13,14 @@
#include <wlr/backend.h> #include <wlr/backend.h>
#include <wlr/render/wlr_renderer.h> #include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_output.h> #include <wlr/types/wlr_output.h>
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_xcursor_manager.h>
#include <wlr/util/log.h> #include <wlr/util/log.h>
#include "kiwmi/server.h" #include "kiwmi/server.h"
#include "kiwmi/desktop/desktop.h" #include "kiwmi/desktop/desktop.h"
#include "kiwmi/input/cursor.h"
#include "kiwmi/input/input.h"
static void static void
output_frame_notify(struct wl_listener *listener, void *data) output_frame_notify(struct wl_listener *listener, void *data)

View file

@ -12,6 +12,7 @@
#include <wayland-server.h> #include <wayland-server.h>
#include <wlr/types/wlr_cursor.h> #include <wlr/types/wlr_cursor.h>
#include <wlr/types/wlr_output_layout.h> #include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_pointer.h>
#include <wlr/types/wlr_xcursor_manager.h> #include <wlr/types/wlr_xcursor_manager.h>
#include <wlr/util/log.h> #include <wlr/util/log.h>

View file

@ -8,10 +8,14 @@
#include "kiwmi/input/input.h" #include "kiwmi/input/input.h"
#include <wayland-server.h> #include <wayland-server.h>
#include <wlr/backend.h>
#include <wlr/types/wlr_cursor.h>
#include <wlr/types/wlr_input_device.h> #include <wlr/types/wlr_input_device.h>
#include <wlr/util/log.h> #include <wlr/util/log.h>
#include "kiwmi/server.h" #include "kiwmi/server.h"
#include "kiwmi/desktop/desktop.h"
#include "kiwmi/input/cursor.h"
#include "kiwmi/input/keyboard.h" #include "kiwmi/input/keyboard.h"
static void static void

View file

@ -11,8 +11,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <wayland-server.h> #include <wayland-server.h>
#include <wlr/backend.h>
#include <wlr/backend/multi.h> #include <wlr/backend/multi.h>
#include <wlr/backend/session.h>
#include <wlr/types/wlr_input_device.h> #include <wlr/types/wlr_input_device.h>
#include <wlr/util/log.h> #include <wlr/util/log.h>
#include <xkbcommon/xkbcommon.h> #include <xkbcommon/xkbcommon.h>

View file

@ -12,7 +12,6 @@
#include <getopt.h> #include <getopt.h>
#include <limits.h> #include <limits.h>
#include <wayland-server.h>
#include <wlr/util/log.h> #include <wlr/util/log.h>
#include "kiwmi/server.h" #include "kiwmi/server.h"

View file

@ -11,13 +11,9 @@
#include <wayland-server.h> #include <wayland-server.h>
#include <wlr/backend.h> #include <wlr/backend.h>
#include <wlr/types/wlr_xcursor_manager.h> #include <wlr/render/wlr_renderer.h>
#include <wlr/util/log.h> #include <wlr/util/log.h>
#include "kiwmi/desktop/desktop.h"
#include "kiwmi/input/cursor.h"
#include "kiwmi/input/input.h"
bool bool
server_init(struct kiwmi_server *server) server_init(struct kiwmi_server *server)
{ {