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/xwayland.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/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index bfef68cf..a793928c 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -42,7 +42,7 @@ static void create_unmanaged(struct wlr_xwayland_surface *xsurface) { | |||
42 | 42 | ||
43 | 43 | ||
44 | static bool assert_xwayland(struct sway_view *view) { | 44 | static bool assert_xwayland(struct sway_view *view) { |
45 | return sway_assert(view->type == SWAY_XWAYLAND_VIEW, | 45 | return sway_assert(view->type == SWAY_VIEW_XWAYLAND, |
46 | "Expected xwayland view!"); | 46 | "Expected xwayland view!"); |
47 | } | 47 | } |
48 | 48 | ||
@@ -185,7 +185,7 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data) { | |||
185 | return; | 185 | return; |
186 | } | 186 | } |
187 | 187 | ||
188 | struct sway_view *view = view_create(SWAY_XWAYLAND_VIEW, &view_impl); | 188 | struct sway_view *view = view_create(SWAY_VIEW_XWAYLAND, &view_impl); |
189 | if (!sway_assert(view, "Failed to allocate view")) { | 189 | if (!sway_assert(view, "Failed to allocate view")) { |
190 | return; | 190 | return; |
191 | } | 191 | } |