aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorPascal Pascher <aur@clouddrop.de>2018-07-24 23:37:41 +0200
committerPascal Pascher <aur@clouddrop.de>2018-07-24 23:37:41 +0200
commit2bf893248a94c7f70a9557aad4a8228731041eeb (patch)
treeec86137e1b5881151b20917f311ecce3d24fba8f /include/sway/tree/view.h
parent24ad1c3983192b47345566fd876e26b45160d68e (diff)
style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index af12cf88..d4416dd3 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -14,9 +14,9 @@ struct sway_container;
enum sway_view_type {
SWAY_VIEW_XDG_SHELL_V6,
SWAY_VIEW_XDG_SHELL,
- #ifdef HAVE_XWAYLAND
+#ifdef HAVE_XWAYLAND
SWAY_VIEW_XWAYLAND,
- #endif
+#endif
};
enum sway_view_prop {
@@ -26,9 +26,9 @@ enum sway_view_prop {
VIEW_PROP_INSTANCE,
VIEW_PROP_WINDOW_TYPE,
VIEW_PROP_WINDOW_ROLE,
- #ifdef HAVE_XWAYLAND
+#ifdef HAVE_XWAYLAND
VIEW_PROP_X11_WINDOW_ID,
- #endif
+#endif
};
struct sway_view_impl {
@@ -96,9 +96,9 @@ struct sway_view {
union {
struct wlr_xdg_surface_v6 *wlr_xdg_surface_v6;
struct wlr_xdg_surface *wlr_xdg_surface;
- #ifdef HAVE_XWAYLAND
+#ifdef HAVE_XWAYLAND
struct wlr_xwayland_surface *wlr_xwayland_surface;
- #endif
+#endif
struct wlr_wl_shell_surface *wlr_wl_shell_surface;
};