Reorganize wlr-common

This commit is contained in:
Drew DeVault 2017-06-21 12:10:07 -04:00
parent fd91244e83
commit f4453d104d
46 changed files with 71 additions and 91 deletions

View file

@ -3,9 +3,9 @@
#include <libinput.h>
#include <wlr/session.h>
#include <wlr/backend/interface.h>
#include <wlr/util/log.h>
#include "backend/udev.h"
#include "backend/libinput.h"
#include "common/log.h"
static int wlr_libinput_open_restricted(const char *path,
int flags, void *_state) {

View file

@ -2,10 +2,10 @@
#include <assert.h>
#include <libinput.h>
#include <wlr/session.h>
#include <wlr/common/list.h>
#include <wlr/interfaces/wlr_input_device.h>
#include <wlr/util/list.h>
#include <wlr/util/log.h>
#include "backend/libinput.h"
#include "common/log.h"
struct wlr_input_device *get_appropriate_device(
enum wlr_input_device_type desired_type,

View file

@ -4,9 +4,8 @@
#include <wlr/session.h>
#include <wlr/types/wlr_input_device.h>
#include <wlr/interfaces/wlr_keyboard.h>
#include <wlr/common/list.h>
#include <wlr/util/log.h>
#include "backend/libinput.h"
#include "common/log.h"
struct wlr_keyboard_state {
struct libinput_device *device;

View file

@ -4,9 +4,8 @@
#include <wlr/session.h>
#include <wlr/types/wlr_input_device.h>
#include <wlr/interfaces/wlr_pointer.h>
#include <wlr/common/list.h>
#include <wlr/util/log.h>
#include "backend/libinput.h"
#include "common/log.h"
struct wlr_pointer *wlr_libinput_pointer_create(
struct libinput_device *device) {

View file

@ -4,9 +4,8 @@
#include <wlr/session.h>
#include <wlr/types/wlr_input_device.h>
#include <wlr/interfaces/wlr_tablet_pad.h>
#include <wlr/common/list.h>
#include <wlr/util/log.h>
#include "backend/libinput.h"
#include "common/log.h"
struct wlr_tablet_pad *wlr_libinput_tablet_pad_create(
struct libinput_device *device) {

View file

@ -4,9 +4,8 @@
#include <wlr/session.h>
#include <wlr/types/wlr_input_device.h>
#include <wlr/interfaces/wlr_tablet_tool.h>
#include <wlr/common/list.h>
#include <wlr/util/log.h>
#include "backend/libinput.h"
#include "common/log.h"
struct wlr_tablet_tool *wlr_libinput_tablet_tool_create(
struct libinput_device *device) {

View file

@ -4,9 +4,8 @@
#include <wlr/session.h>
#include <wlr/types/wlr_input_device.h>
#include <wlr/interfaces/wlr_touch.h>
#include <wlr/common/list.h>
#include <wlr/util/log.h>
#include "backend/libinput.h"
#include "common/log.h"
struct wlr_touch *wlr_libinput_touch_create(
struct libinput_device *device) {