aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-28 12:21:50 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-28 14:43:23 -0400
commitd39bda76c4007c42452a81883fefc671b816a74b (patch)
tree509a9c669bf2679085e27a1ff1b0c95526abf14c /client
parent653853062f15639c97d02a8d67443506ce3af69d (diff)
Address review comments
Diffstat (limited to 'client')
-rw-r--r--client/meson.build23
-rw-r--r--client/pool-buffer.c (renamed from client/buffer-pool.c)3
2 files changed, 11 insertions, 15 deletions
diff --git a/client/meson.build b/client/meson.build
index 597899ce..2bdda457 100644
--- a/client/meson.build
+++ b/client/meson.build
@@ -1,21 +1,16 @@
-deps = [
- cairo,
- pango,
- pangocairo,
- wlroots,
- wayland_client,
-]
-
-if gdk_pixbuf.found()
- deps += [gdk_pixbuf]
-endif
-
lib_sway_client = static_library(
'sway-client',
files(
- 'buffer-pool.c',
+ 'pool-buffer.c',
),
- dependencies: deps,
+ dependencies: [
+ cairo,
+ gdk_pixbuf,
+ pango,
+ pangocairo,
+ wlroots,
+ wayland_client,
+ ],
link_with: [lib_sway_common],
include_directories: sway_inc
)
diff --git a/client/buffer-pool.c b/client/pool-buffer.c
index 7f673ae9..93cfcfc5 100644
--- a/client/buffer-pool.c
+++ b/client/pool-buffer.c
@@ -8,7 +8,8 @@
#include <pango/pangocairo.h>
#include <unistd.h>
#include <wayland-client.h>
-#include "buffer_pool.h"
+#include "config.h"
+#include "pool-buffer.h"
static int create_pool_file(size_t size, char **name) {
static const char template[] = "sway-client-XXXXXX";