diff options
author | 2018-11-18 00:33:06 +0100 | |
---|---|---|
committer | 2018-11-18 00:33:06 +0100 | |
commit | cad851805bea6b4777685df1c6adf8cb9fa71835 (patch) | |
tree | 145fcb048cc3df3d04a8b6afb90de68dd2dd80a9 /include/sway/server.h | |
parent | Merge pull request #3142 from RyanDwyer/move-view-properties (diff) | |
download | sway-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.h | 6 |
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); | |||
80 | void handle_layer_shell_surface(struct wl_listener *listener, void *data); | 80 | void handle_layer_shell_surface(struct wl_listener *listener, void *data); |
81 | void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data); | 81 | void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data); |
82 | void handle_xdg_shell_surface(struct wl_listener *listener, void *data); | 82 | void handle_xdg_shell_surface(struct wl_listener *listener, void *data); |
83 | #ifdef HAVE_XWAYLAND | 83 | #if HAVE_XWAYLAND |
84 | void handle_xwayland_surface(struct wl_listener *listener, void *data); | 84 | void handle_xwayland_surface(struct wl_listener *listener, void *data); |
85 | #endif | 85 | #endif |
86 | void handle_server_decoration(struct wl_listener *listener, void *data); | 86 | void handle_server_decoration(struct wl_listener *listener, void *data); |