From dfc26c664f8c1b007f15ff24a3055774af200c69 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Tue, 24 Apr 2018 20:14:22 +1000 Subject: [PATCH] Update wording about unmanaged/unmapped views --- include/sway/tree/view.h | 2 +- sway/tree/view.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 648a74c4..7237ea2a 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h @@ -39,7 +39,7 @@ struct sway_view { enum sway_view_type type; const struct sway_view_impl *impl; - struct sway_container *swayc; // NULL for unmanaged views + struct sway_container *swayc; // NULL for unmapped views struct wlr_surface *surface; // NULL for unmapped views int width, height; bool is_fullscreen; diff --git a/sway/tree/view.c b/sway/tree/view.c index 3d22d3e4..3eeb1d97 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c @@ -212,7 +212,7 @@ static void view_handle_container_reparent(struct wl_listener *listener, } static void view_execute_criteria(struct sway_view *view) { - if (!sway_assert(view->swayc, "cannot run criteria for unmanaged view")) { + if (!sway_assert(view->swayc, "cannot run criteria for unmapped view")) { return; } struct sway_seat *seat = input_manager_current_seat(input_manager);