view: add view_is_modal_dialog()

This commit is contained in:
tokyo4j 2026-01-27 17:53:50 +09:00 committed by Johan Malm
parent ac94e1d44c
commit 87586104cd
2 changed files with 12 additions and 5 deletions

View file

@ -555,6 +555,8 @@ void view_move_to_output(struct view *view, struct output *output);
void view_move_to_front(struct view *view);
void view_move_to_back(struct view *view);
bool view_is_modal_dialog(struct view *view);
/**
* view_get_modal_dialog() - returns any modal dialog found among this
* view's children or siblings (or possibly this view itself). Applies