mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-10 05:44:16 +00:00
do not set bracket position (#351)
This commit is contained in:
parent
05bf71db18
commit
5bf36c407e
1 changed files with 2 additions and 2 deletions
|
@ -183,8 +183,8 @@ static void handle_domain_add(FILE* rsp, struct token domain, char* message) {
|
|||
command.text );
|
||||
}
|
||||
|
||||
if (!bar_item_set_position(bar_item, position.text)
|
||||
&& bar_item->type != BAR_COMPONENT_GROUP) {
|
||||
if (bar_item->type != BAR_COMPONENT_GROUP &&
|
||||
!bar_item_set_position(bar_item, position.text)) {
|
||||
respond(rsp, "[!] Add %s: Illegal position '%s'\n", name.text,
|
||||
position.text);
|
||||
bar_manager_remove_item(&g_bar_manager, bar_item);
|
||||
|
|
Loading…
Reference in a new issue