action: support {Go,Send}ToDesktop 'wrap' option

Make wrap 'true' by default for both GoToDesktop and SendToDesktop,
in order to default to the current behaviour, and to stay consistent
with Openbox behaviour.
This commit is contained in:
Tomi Ollila 2023-05-14 20:44:59 +03:00 committed by Consolatis
parent 44645d06c2
commit f2c3f83041
5 changed files with 42 additions and 18 deletions

View file

@ -23,6 +23,7 @@ void workspaces_init(struct server *server);
void workspaces_switch_to(struct workspace *target);
void workspaces_destroy(struct server *server);
void workspaces_osd_hide(struct seat *seat);
struct workspace *workspaces_find(struct workspace *anchor, const char *name);
struct workspace *workspaces_find(struct workspace *anchor, const char *name,
bool wrap);
#endif /* LABWC_WORKSPACES_H */