diff options
author | emersion <contact@emersion.fr> | 2018-04-04 15:53:46 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-04-04 22:03:14 -0400 |
commit | 8eff00f72395add1881aa677e3c718c0554cb096 (patch) | |
tree | 803dc03246326c754732f3b8f635d8a67a2a3441 /sway/desktop/xdg_shell_v6.c | |
parent | Remove unused sway_view.unmanaged_link (diff) | |
download | sway-8eff00f72395add1881aa677e3c718c0554cb096.tar.gz sway-8eff00f72395add1881aa677e3c718c0554cb096.tar.zst sway-8eff00f72395add1881aa677e3c718c0554cb096.zip |
Remove unused SWAY_VIEW_TYPES
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r-- | sway/desktop/xdg_shell_v6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c index 49305b39..5cdb8f9f 100644 --- a/sway/desktop/xdg_shell_v6.c +++ b/sway/desktop/xdg_shell_v6.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include "log.h" | 12 | #include "log.h" |
13 | 13 | ||
14 | static bool assert_xdg(struct sway_view *view) { | 14 | static bool assert_xdg(struct sway_view *view) { |
15 | return sway_assert(view->type == SWAY_XDG_SHELL_V6_VIEW, | 15 | return sway_assert(view->type == SWAY_VIEW_XDG_SHELL_V6, |
16 | "Expected xdg shell v6 view!"); | 16 | "Expected xdg shell v6 view!"); |
17 | } | 17 | } |
18 | 18 | ||
@@ -126,7 +126,7 @@ void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) { | |||
126 | return; | 126 | return; |
127 | } | 127 | } |
128 | 128 | ||
129 | struct sway_view *view = view_create(SWAY_XDG_SHELL_V6_VIEW, &view_impl); | 129 | struct sway_view *view = view_create(SWAY_VIEW_XDG_SHELL_V6, &view_impl); |
130 | if (!sway_assert(view, "Failed to allocate view")) { | 130 | if (!sway_assert(view, "Failed to allocate view")) { |
131 | return; | 131 | return; |
132 | } | 132 | } |