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

@ -74,7 +74,7 @@ desktop_focus_view(struct view *view, bool raise)
return;
}
if (view->server->input_mode == LAB_INPUT_STATE_WINDOW_SWITCHER) {
if (view->server->input_mode == LAB_INPUT_STATE_CYCLE) {
wlr_log(WLR_DEBUG, "not focusing window while window switching");
return;
}
@ -340,10 +340,10 @@ get_cursor_context(struct server *server)
ret.node = node;
ret.type = LAB_NODE_MENUITEM;
return ret;
case LAB_NODE_OSD_ITEM:
case LAB_NODE_CYCLE_OSD_ITEM:
/* Always return the top scene node for osd items */
ret.node = node;
ret.type = LAB_NODE_OSD_ITEM;
ret.type = LAB_NODE_CYCLE_OSD_ITEM;
return ret;
case LAB_NODE_BUTTON_FIRST...LAB_NODE_BUTTON_LAST:
case LAB_NODE_SSD_ROOT: