Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-29 | Revert "Refactor tree" | Drew DeVault | |
2018-03-29 | rename container functions | Tony Crisci | |
2018-03-29 | move tree includes to their own directory | Tony Crisci | |
2018-02-24 | remove checks for command handlers | Tony Crisci | |
2018-02-04 | basic focus overhaul | Tony Crisci | |
2018-01-30 | Implement workspaces | Drew DeVault | |
2018-01-21 | dont allow kill command in config | Tony Crisci | |
2018-01-21 | cmd-kill: use sway_assert when no container | Tony Crisci | |
2018-01-21 | view interface | Tony Crisci | |
2018-01-21 | run all commands with focused container context | Tony Crisci | |
2018-01-20 | basic command criteria | Tony Crisci | |
2018-01-20 | add kill command | Tony Crisci | |
2017-11-18 | Move everything to sway/old/ | Drew DeVault | |
2017-04-05 | Improve criteria handling | Calvin Lee | |
This commit changes how commands decide what container to act on. Commands get the current container though `current_container`, a global defined in sway/commands.c. If a criteria is given before a command, then the following command will be run once for every container the criteria matches with a reference to the matching container in 'current_container'. Commands should use this instead of `get_focused_container()` from now on. This commit also fixes a few (minor) mistakes made in implementing marks such as non-escaped arrows in sway(5) and calling the "mark" command "floating" by accident. It also cleans up `criteria.c` in a few places. | |||
2016-09-02 | merge in latest commits | Zandr Martin | |
2016-09-01 | refactor commands.c | Zandr Martin | |