Move client helpers from common/ to client/

The sway binary doesn't need to load images nor use the event loop.
This commit is contained in:
Simon Ser 2021-07-13 14:54:47 +02:00
parent 96102184ab
commit 307ba09b41
4 changed files with 4 additions and 4 deletions

View file

@ -1,13 +1,16 @@
lib_sway_client = static_library(
'sway-client',
files(
'background-image.c',
'loop.c',
'pool-buffer.c',
),
dependencies: [
cairo,
pango,
pangocairo,
wayland_client
wayland_client,
gdk_pixbuf,
],
link_with: [lib_sway_common],
include_directories: sway_inc

View file

@ -1,11 +1,9 @@
lib_sway_common = static_library(
'sway-common',
files(
'background-image.c',
'cairo.c',
'ipc-client.c',
'log.c',
'loop.c',
'list.c',
'pango.c',
'stringop.c',
@ -13,7 +11,6 @@ lib_sway_common = static_library(
),
dependencies: [
cairo,
gdk_pixbuf,
pango,
pangocairo,
wayland_client.partial_dependency(compile_args: true)