| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Most occurrences have been replaced by `free_flat_list` which has been
moved from stringop.c to list.c. The rest have been replaced by for loops.
|
| |
|
|
|
|
|
| |
This fixes a crash if you have commands where reload appears in the
middle or at the end, such as `bindsym r mode default, reload`.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add and use lenient_strcat and lenient_strncat functions
* Rename `concatenate_child_titles` function as that's no longer what it
does
* Rename `container_notify_child_title_changed` because we only need to
notify that the tree structure has changed, not titles
* Don't notify parents when a child changes its title
* Update ancestor titles when changing a container's layout
* Eg. create nested tabs and change the inner container to stacking
* No need to store tree presentation in both container->name and
formatted_title
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds quotes around multiword arguments before they are passed to
`/bin/sh -c` in an exec command.
Example:
I connect to irc like this:
exec termite -e "mosh server tmux a"
Without this patch the arguments are passed to sh as:
termite -e mosh server tmux a
When it should be:
termite -e "mosh server tmux a"
For the command to work.
|
| |
|
|
|
|
| |
After defining _GNU_SOURCE
|
|\ |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
This reverts commit e1d18e42a8f3a597b9bf5f1bb2ab6c346e4e7983.
Fixes #180
cc @taiyu-len
|
| |
|
| |
|
| |
|
|
|
|
|
| |
No escaping on container names is done yet, as well as some values are
hardcoded because they don't exist yet.
|
|
|
|
| |
This reverts commit abd0afb03a2929931cb684e5aaeac312affe6e5f.
|
| |
|
|
|