Use "cycle" instead of "osd" across the codebase

We were using the word "osd" to describe the window switcher, but it can
be used with on-screen display (OSD) disabled by
`<windowSwitcher><osd show="false">`. Let's use "cycle" instead to avoid
confusion.
This commit is contained in:
tokyo4j 2025-11-29 02:41:54 +09:00 committed by Hiroaki Yamamoto
parent 65cc2e40ba
commit 4fcb873f6f
21 changed files with 265 additions and 266 deletions

View file

@ -823,7 +823,7 @@ view_minimize(struct view *view, bool minimized)
{
assert(view);
if (view->server->input_mode == LAB_INPUT_STATE_WINDOW_SWITCHER) {
if (view->server->input_mode == LAB_INPUT_STATE_CYCLE) {
wlr_log(WLR_ERROR, "not minimizing window while window switching");
return;
}
@ -2620,7 +2620,7 @@ view_destroy(struct view *view)
zfree(view->tiled_region_evacuate);
}
osd_on_view_destroy(view);
cycle_on_view_destroy(view);
undecorate(view);
view_set_icon(view, NULL, NULL);