Cleaned up includes
This commit is contained in:
parent
1ba4b518fa
commit
7efc56adfc
13 changed files with 13 additions and 24 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue