fix header includes

This commit is contained in:
Tony Crisci 2017-12-16 08:33:22 -05:00
parent 2624f55f8d
commit d3d3604760
4 changed files with 11 additions and 6 deletions

View file

@ -1,5 +1,5 @@
#ifndef _SWAY_CURSOR_H
#define _SWAY_CURSOR_H
#ifndef _SWAY_INPUT_CURSOR_H
#define _SWAY_INPUT_CURSOR_H
#include "sway/input/seat.h"

View file

@ -1,5 +1,5 @@
#ifndef _SWAY_INPUT_MANAGER_H
#define _SWAY_INPUT_MANAGER_H
#ifndef _SWAY_INPUT_INPUT_MANAGER_H
#define _SWAY_INPUT_INPUT_MANAGER_H
#include <libinput.h>
#include "sway/server.h"
#include "sway/config.h"

View file

@ -1,3 +1,6 @@
#ifndef _SWAY_INPUT_KEYBOARD_H
#define _SWAY_INPUT_KEYBOARD_H
#include "sway/input/seat.h"
struct sway_keyboard {
@ -16,3 +19,5 @@ struct sway_keyboard *sway_keyboard_create(struct sway_seat *seat,
void sway_keyboard_configure(struct sway_keyboard *keyboard);
void sway_keyboard_destroy(struct sway_keyboard *keyboard);
#endif

View file

@ -1,5 +1,5 @@
#ifndef _SWAY_SEAT_H
#define _SWAY_SEAT_H
#ifndef _SWAY_INPUT_SEAT_H
#define _SWAY_INPUT_SEAT_H
#include <wlr/types/wlr_seat.h>
#include "sway/input/input-manager.h"