input include directory

master
Tony Crisci 7 years ago
parent ec7fc42a00
commit d76e745b73

@ -1,7 +1,7 @@
#ifndef _SWAY_CURSOR_H #ifndef _SWAY_CURSOR_H
#define _SWAY_CURSOR_H #define _SWAY_CURSOR_H
#include "sway/seat.h" #include "sway/input/seat.h"
struct sway_cursor { struct sway_cursor {
struct wlr_cursor *cursor; struct wlr_cursor *cursor;

@ -2,7 +2,7 @@
#define _SWAY_INPUT_MANAGER_H #define _SWAY_INPUT_MANAGER_H
#include <libinput.h> #include <libinput.h>
#include "sway/server.h" #include "sway/server.h"
#include "config.h" #include "sway/config.h"
#include "list.h" #include "list.h"
struct sway_input_manager { struct sway_input_manager {

@ -2,7 +2,7 @@
#define _SWAY_SEAT_H #define _SWAY_SEAT_H
#include <wlr/types/wlr_seat.h> #include <wlr/types/wlr_seat.h>
#include "sway/input-manager.h" #include "sway/input/input-manager.h"
struct sway_seat { struct sway_seat {
struct wlr_seat *seat; struct wlr_seat *seat;

@ -1,6 +1,6 @@
#define _XOPEN_SOURCE 700 #define _XOPEN_SOURCE 700
#include <wlr/types/wlr_cursor.h> #include <wlr/types/wlr_cursor.h>
#include "sway/cursor.h" #include "sway/input/cursor.h"
#include "log.h" #include "log.h"
static void handle_cursor_motion(struct wl_listener *listener, void *data) { static void handle_cursor_motion(struct wl_listener *listener, void *data) {

@ -6,8 +6,8 @@
#include <string.h> #include <string.h>
#include <libinput.h> #include <libinput.h>
#include "sway/config.h" #include "sway/config.h"
#include "sway/input-manager.h" #include "sway/input/input-manager.h"
#include "sway/seat.h" #include "sway/input/seat.h"
#include "sway/server.h" #include "sway/server.h"
#include "list.h" #include "list.h"
#include "log.h" #include "log.h"

@ -1,8 +1,8 @@
#define _XOPEN_SOURCE 700 #define _XOPEN_SOURCE 700
#include <wlr/types/wlr_cursor.h> #include <wlr/types/wlr_cursor.h>
#include "sway/seat.h" #include "sway/input/seat.h"
#include "sway/cursor.h" #include "sway/input/cursor.h"
#include "sway/input-manager.h" #include "sway/input/input-manager.h"
#include "log.h" #include "log.h"
struct sway_seat *sway_seat_create(struct wl_display *display, struct sway_seat *sway_seat_create(struct wl_display *display,

@ -11,7 +11,7 @@
// TODO WLR: make Xwayland optional // TODO WLR: make Xwayland optional
#include <wlr/xwayland.h> #include <wlr/xwayland.h>
#include "sway/server.h" #include "sway/server.h"
#include "sway/input-manager.h" #include "sway/input/input-manager.h"
#include "log.h" #include "log.h"
bool server_init(struct sway_server *server) { bool server_init(struct sway_server *server) {

Loading…
Cancel
Save