remove wlroots dependency from common code

Removes the wlroots dependency from the common code. To remove the
dependency on the header, the defines and log-level enum are copied
over.
This causes a redefine error if both the wlr and the sway log.h are
included.
This commit is contained in:
Markus Ongyerth 2018-05-24 21:55:52 +02:00
parent acae6ad40f
commit 3fb60b6aed
8 changed files with 14 additions and 8 deletions

View file

@ -10,7 +10,6 @@
#include <unistd.h>
#include <wayland-client.h>
#include <wayland-cursor.h>
#include <wlr/util/log.h>
#ifdef __FreeBSD__
#include <dev/evdev/input-event-codes.h>
#else