action: support SendToDesktop 'follow' option

Make follow 'true' by default as per Openbox 3.6 specification.
Note: this is an interface change.

Fixes: issue #841
This commit is contained in:
Johan Malm 2023-03-26 10:57:53 +01:00 committed by Consolatis
parent bdf6e13881
commit 33b98b19aa
6 changed files with 67 additions and 17 deletions

View file

@ -120,6 +120,11 @@ fill_keybind(char *nodename, char *content)
wlr_log(WLR_ERROR, "expect <action name=\"\"> element first. "
"nodename: '%s' content: '%s'", nodename, content);
} else {
/*
* Here we deal with action sub-elements such as <to>, <output>,
* <region>, <direction> and so on. This is common to key- and
* mousebinds.
*/
action_arg_from_xml_node(current_keybind_action, nodename, content);
}
}