diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-04 22:12:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-04 22:12:32 -0400 |
commit | 21aedf15052df4e7f8ee72922fa0e214d690facc (patch) | |
tree | 42039b2d318ab944dd148990329b4a2cf94fd9a3 /sway/desktop/wl_shell.c | |
parent | 5a646221815f6793f844412b82b185b415b32157 (diff) | |
parent | 44b8d30f5254628f8e6d5a12010f6e5f810d756e (diff) |
Merge pull request #1732 from emersion/view-children
Update for wlroots#824
Diffstat (limited to 'sway/desktop/wl_shell.c')
-rw-r--r-- | sway/desktop/wl_shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/wl_shell.c b/sway/desktop/wl_shell.c index 6528a397..a470674d 100644 --- a/sway/desktop/wl_shell.c +++ b/sway/desktop/wl_shell.c @@ -12,7 +12,7 @@ #include "log.h" static bool assert_wl_shell(struct sway_view *view) { - return sway_assert(view->type == SWAY_WL_SHELL_VIEW, + return sway_assert(view->type == SWAY_VIEW_WL_SHELL, "Expecting wl_shell view!"); } @@ -97,7 +97,7 @@ void handle_wl_shell_surface(struct wl_listener *listener, void *data) { return; } - struct sway_view *view = view_create(SWAY_WL_SHELL_VIEW, &view_impl); + struct sway_view *view = view_create(SWAY_VIEW_WL_SHELL, &view_impl); if (!sway_assert(view, "Failed to allocate view")) { return; } |