mirror of
https://github.com/labwc/labwc.git
synced 2025-11-06 13:29:58 -05:00
osd: move end_cycling() into osd_finish()
...so that we can use `osd_finish()` to support clicking an osd item to focus its associated window.
This commit is contained in:
parent
7223056ffc
commit
2c0552004a
3 changed files with 31 additions and 36 deletions
|
|
@ -53,7 +53,7 @@ void osd_begin(struct server *server, enum lab_cycle_dir direction);
|
|||
void osd_cycle(struct server *server, enum lab_cycle_dir direction);
|
||||
|
||||
/* Closes the OSD */
|
||||
void osd_finish(struct server *server);
|
||||
void osd_finish(struct server *server, bool switch_focus);
|
||||
|
||||
/* Notify OSD about a destroying view */
|
||||
void osd_on_view_destroy(struct view *view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue