diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-28 12:21:50 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-03-28 14:43:23 -0400 |
commit | d39bda76c4007c42452a81883fefc671b816a74b (patch) | |
tree | 509a9c669bf2679085e27a1ff1b0c95526abf14c /client | |
parent | Refactor configure/ack configure/commit flow (diff) | |
download | sway-d39bda76c4007c42452a81883fefc671b816a74b.tar.gz sway-d39bda76c4007c42452a81883fefc671b816a74b.tar.zst sway-d39bda76c4007c42452a81883fefc671b816a74b.zip |
Address review comments
Diffstat (limited to 'client')
-rw-r--r-- | client/meson.build | 23 | ||||
-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 @@ | |||
1 | deps = [ | ||
2 | cairo, | ||
3 | pango, | ||
4 | pangocairo, | ||
5 | wlroots, | ||
6 | wayland_client, | ||
7 | ] | ||
8 | |||
9 | if gdk_pixbuf.found() | ||
10 | deps += [gdk_pixbuf] | ||
11 | endif | ||
12 | |||
13 | lib_sway_client = static_library( | 1 | lib_sway_client = static_library( |
14 | 'sway-client', | 2 | 'sway-client', |
15 | files( | 3 | files( |
16 | 'buffer-pool.c', | 4 | 'pool-buffer.c', |
17 | ), | 5 | ), |
18 | dependencies: deps, | 6 | dependencies: [ |
7 | cairo, | ||
8 | gdk_pixbuf, | ||
9 | pango, | ||
10 | pangocairo, | ||
11 | wlroots, | ||
12 | wayland_client, | ||
13 | ], | ||
19 | link_with: [lib_sway_common], | 14 | link_with: [lib_sway_common], |
20 | include_directories: sway_inc | 15 | include_directories: sway_inc |
21 | ) | 16 | ) |
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 @@ | |||
8 | #include <pango/pangocairo.h> | 8 | #include <pango/pangocairo.h> |
9 | #include <unistd.h> | 9 | #include <unistd.h> |
10 | #include <wayland-client.h> | 10 | #include <wayland-client.h> |
11 | #include "buffer_pool.h" | 11 | #include "config.h" |
12 | #include "pool-buffer.h" | ||
12 | 13 | ||
13 | static int create_pool_file(size_t size, char **name) { | 14 | static int create_pool_file(size_t size, char **name) { |
14 | static const char template[] = "sway-client-XXXXXX"; | 15 | static const char template[] = "sway-client-XXXXXX"; |