action: rename "omnipresent" button options for Openbox compatibility

- Mouse context "Omnipresent" -> "AllDesktops"
- Theme elements "window.*.button.omnipresent" -> "window.*.button.desk"
- Update documentation accordingly
This commit is contained in:
Andrew J. Hesford 2024-08-25 00:00:24 -04:00 committed by Consolatis
parent dda47a5e14
commit 1bcaf8255f
6 changed files with 22 additions and 16 deletions

View file

@ -116,7 +116,7 @@ context_from_str(const char *str)
return LAB_SSD_BUTTON_WINDOW_MENU;
} else if (!strcasecmp(str, "Shade")) {
return LAB_SSD_BUTTON_SHADE;
} else if (!strcasecmp(str, "Omnipresent")) {
} else if (!strcasecmp(str, "AllDesktops")) {
return LAB_SSD_BUTTON_OMNIPRESENT;
} else if (!strcasecmp(str, "Titlebar")) {
return LAB_SSD_PART_TITLEBAR;