mirror of
https://github.com/labwc/labwc.git
synced 2026-02-10 04:27:47 -05:00
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:
parent
65cc2e40ba
commit
4fcb873f6f
21 changed files with 265 additions and 266 deletions
|
|
@ -59,13 +59,13 @@ node_menuitem_from_node(struct wlr_scene_node *wlr_scene_node)
|
|||
return (struct menuitem *)node_descriptor->data;
|
||||
}
|
||||
|
||||
struct osd_item *
|
||||
node_osd_item_from_node(struct wlr_scene_node *wlr_scene_node)
|
||||
struct cycle_osd_item *
|
||||
node_cycle_osd_item_from_node(struct wlr_scene_node *wlr_scene_node)
|
||||
{
|
||||
assert(wlr_scene_node->data);
|
||||
struct node_descriptor *node_descriptor = wlr_scene_node->data;
|
||||
assert(node_descriptor->type == LAB_NODE_OSD_ITEM);
|
||||
return (struct osd_item *)node_descriptor->data;
|
||||
assert(node_descriptor->type == LAB_NODE_CYCLE_OSD_ITEM);
|
||||
return (struct cycle_osd_item *)node_descriptor->data;
|
||||
}
|
||||
|
||||
struct ssd_button *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue