summaryrefslogtreecommitdiffstats
path: root/include/client
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-11-18 08:44:08 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-11-18 08:44:08 -0500
commit665d4baaf170d2723f89a482298d1f972431b3c3 (patch)
treed53c9a870f513a234fec02e4242b9faf8c017484 /include/client
parentClean up memory pool files better (diff)
downloadsway-665d4baaf170d2723f89a482298d1f972431b3c3.tar.gz
sway-665d4baaf170d2723f89a482298d1f972431b3c3.tar.zst
sway-665d4baaf170d2723f89a482298d1f972431b3c3.zip
Normalize indentation
Diffstat (limited to 'include/client')
-rw-r--r--include/client/client.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/include/client/client.h b/include/client/client.h
index 02806eae..39f18caf 100644
--- a/include/client/client.h
+++ b/include/client/client.h
@@ -8,36 +8,36 @@
8#include "list.h" 8#include "list.h"
9 9
10struct output_state { 10struct output_state {
11 struct wl_output *output; 11 struct wl_output *output;
12 uint32_t flags; 12 uint32_t flags;
13 uint32_t width, height; 13 uint32_t width, height;
14}; 14};
15 15
16struct buffer { 16struct buffer {
17 struct wl_buffer *buffer; 17 struct wl_buffer *buffer;
18 int fd; 18 int fd;
19 cairo_surface_t *surface; 19 cairo_surface_t *surface;
20 cairo_t *cairo; 20 cairo_t *cairo;
21 PangoContext *pango; 21 PangoContext *pango;
22 uint32_t width, height; 22 uint32_t width, height;
23 bool busy; 23 bool busy;
24}; 24};
25 25
26struct client_state { 26struct client_state {
27 struct wl_compositor *compositor; 27 struct wl_compositor *compositor;
28 struct wl_display *display; 28 struct wl_display *display;
29 struct wl_pointer *pointer; 29 struct wl_pointer *pointer;
30 struct wl_seat *seat; 30 struct wl_seat *seat;
31 struct wl_shell *shell; 31 struct wl_shell *shell;
32 struct wl_shm *shm; 32 struct wl_shm *shm;
33 struct buffer buffers[2]; 33 struct buffer buffers[2];
34 struct buffer *buffer; 34 struct buffer *buffer;
35 struct wl_surface *surface; 35 struct wl_surface *surface;
36 struct wl_shell_surface *shell_surface; 36 struct wl_shell_surface *shell_surface;
37 struct wl_callback *frame_cb; 37 struct wl_callback *frame_cb;
38 uint32_t width, height; 38 uint32_t width, height;
39 cairo_t *cairo; 39 cairo_t *cairo;
40 list_t *outputs; 40 list_t *outputs;
41}; 41};
42 42
43struct client_state *client_setup(uint32_t width, uint32_t height); 43struct client_state *client_setup(uint32_t width, uint32_t height);