summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar David Eklov <david.eklov@gmail.com>2016-07-04 22:18:56 -0500
committerLibravatar David Eklov <david.eklov@gmail.com>2016-07-04 22:18:56 -0500
commitd9bcea381a69ebc6367aede7816b8e27d5fc9417 (patch)
tree9e155febd82e37ba6cb7b9e1b8ee7fda044d5147 /include
parentswaybg: Make swaybg a shell surface (diff)
downloadsway-d9bcea381a69ebc6367aede7816b8e27d5fc9417.tar.gz
sway-d9bcea381a69ebc6367aede7816b8e27d5fc9417.tar.zst
sway-d9bcea381a69ebc6367aede7816b8e27d5fc9417.zip
Fix formatting guide violations (spaces instead of tabs)
Diffstat (limited to 'include')
-rw-r--r--include/extensions.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/include/extensions.h b/include/extensions.h
index dbd8f625..7c508b5e 100644
--- a/include/extensions.h
+++ b/include/extensions.h
@@ -7,37 +7,37 @@
7#include "list.h" 7#include "list.h"
8 8
9struct background_config { 9struct background_config {
10 wlc_handle output; 10 wlc_handle output;
11 wlc_resource surface; 11 wlc_resource surface;
12 // we need the wl_resource of the surface in the destructor 12 // we need the wl_resource of the surface in the destructor
13 struct wl_resource *wl_surface_res; 13 struct wl_resource *wl_surface_res;
14 // used to determine if client is a background 14 // used to determine if client is a background
15 struct wl_client *client; 15 struct wl_client *client;
16}; 16};
17 17
18struct panel_config { 18struct panel_config {
19 // wayland resource used in callbacks, is used to track this panel 19 // wayland resource used in callbacks, is used to track this panel
20 struct wl_resource *wl_resource; 20 struct wl_resource *wl_resource;
21 wlc_handle output; 21 wlc_handle output;
22 wlc_resource surface; 22 wlc_resource surface;
23 // we need the wl_resource of the surface in the destructor 23 // we need the wl_resource of the surface in the destructor
24 struct wl_resource *wl_surface_res; 24 struct wl_resource *wl_surface_res;
25 enum desktop_shell_panel_position panel_position; 25 enum desktop_shell_panel_position panel_position;
26 // used to determine if client is a panel 26 // used to determine if client is a panel
27 struct wl_client *client; 27 struct wl_client *client;
28}; 28};
29 29
30struct desktop_shell_state { 30struct desktop_shell_state {
31 list_t *backgrounds; 31 list_t *backgrounds;
32 list_t *panels; 32 list_t *panels;
33 list_t *lock_surfaces; 33 list_t *lock_surfaces;
34 bool is_locked; 34 bool is_locked;
35}; 35};
36 36
37struct swaylock_state { 37struct swaylock_state {
38 bool active; 38 bool active;
39 wlc_handle output; 39 wlc_handle output;
40 wlc_resource surface; 40 wlc_resource surface;
41}; 41};
42 42
43extern struct desktop_shell_state desktop_shell; 43extern struct desktop_shell_state desktop_shell;