aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/server.h
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-11-18 00:33:06 +0100
committerLibravatar emersion <contact@emersion.fr>2018-11-18 00:33:06 +0100
commitcad851805bea6b4777685df1c6adf8cb9fa71835 (patch)
tree145fcb048cc3df3d04a8b6afb90de68dd2dd80a9 /include/sway/server.h
parentMerge pull request #3142 from RyanDwyer/move-view-properties (diff)
downloadsway-cad851805bea6b4777685df1c6adf8cb9fa71835.tar.gz
sway-cad851805bea6b4777685df1c6adf8cb9fa71835.tar.zst
sway-cad851805bea6b4777685df1c6adf8cb9fa71835.zip
Use #if instead of #ifdef
Diffstat (limited to 'include/sway/server.h')
-rw-r--r--include/sway/server.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index 5fced224..a3233d66 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -14,7 +14,7 @@
14#include <wlr/types/wlr_xdg_shell.h> 14#include <wlr/types/wlr_xdg_shell.h>
15#include "config.h" 15#include "config.h"
16#include "list.h" 16#include "list.h"
17#ifdef HAVE_XWAYLAND 17#if HAVE_XWAYLAND
18#include "sway/xwayland.h" 18#include "sway/xwayland.h"
19#endif 19#endif
20 20
@@ -44,7 +44,7 @@ struct sway_server {
44 struct wlr_xdg_shell *xdg_shell; 44 struct wlr_xdg_shell *xdg_shell;
45 struct wl_listener xdg_shell_surface; 45 struct wl_listener xdg_shell_surface;
46 46
47#ifdef HAVE_XWAYLAND 47#if HAVE_XWAYLAND
48 struct sway_xwayland xwayland; 48 struct sway_xwayland xwayland;
49 struct wl_listener xwayland_surface; 49 struct wl_listener xwayland_surface;
50 struct wl_listener xwayland_ready; 50 struct wl_listener xwayland_ready;
@@ -80,7 +80,7 @@ void handle_idle_inhibitor_v1(struct wl_listener *listener, void *data);
80void handle_layer_shell_surface(struct wl_listener *listener, void *data); 80void handle_layer_shell_surface(struct wl_listener *listener, void *data);
81void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data); 81void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data);
82void handle_xdg_shell_surface(struct wl_listener *listener, void *data); 82void handle_xdg_shell_surface(struct wl_listener *listener, void *data);
83#ifdef HAVE_XWAYLAND 83#if HAVE_XWAYLAND
84void handle_xwayland_surface(struct wl_listener *listener, void *data); 84void handle_xwayland_surface(struct wl_listener *listener, void *data);
85#endif 85#endif
86void handle_server_decoration(struct wl_listener *listener, void *data); 86void handle_server_decoration(struct wl_listener *listener, void *data);