mirror of
https://github.com/labwc/labwc.git
synced 2026-02-23 01:40:18 -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
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue