mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 09:51:29 +00:00
Update wording about unmanaged/unmapped views
This commit is contained in:
parent
689a6a5605
commit
dfc26c664f
|
@ -39,7 +39,7 @@ struct sway_view {
|
||||||
enum sway_view_type type;
|
enum sway_view_type type;
|
||||||
const struct sway_view_impl *impl;
|
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
|
struct wlr_surface *surface; // NULL for unmapped views
|
||||||
int width, height;
|
int width, height;
|
||||||
bool is_fullscreen;
|
bool is_fullscreen;
|
||||||
|
|
|
@ -212,7 +212,7 @@ static void view_handle_container_reparent(struct wl_listener *listener,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void view_execute_criteria(struct sway_view *view) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
struct sway_seat *seat = input_manager_current_seat(input_manager);
|
struct sway_seat *seat = input_manager_current_seat(input_manager);
|
||||||
|
|
Loading…
Reference in a new issue