aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/seat/pointer_constraint.c
Commit message (Collapse)AuthorAge
* Drop server.h include from input/input-manager.hLibravatar Simon Ser2024-05-27
| | | | | | | | The only reason it's included there is for a declaration of struct sway_server, but we can just forward-declare it. This avoids rebuilding almost all of Sway when touching server.h. All other server.h includes are from source files, not headers.
* pointer_constraint: change to a seat subcommandLibravatar Brian Ashworth2019-01-31
This changes the `pointer_constraint` command to be a subcommand of seat to allow for per-seat settings. The current implementation that is not a seat subcommand will only operate on the current seat and will segfault in the config due to `config->handler_context.seat` only being set at runtime. This also allows for the wildcard identifier to be used to alter the pointer constraint settings on all seats and allows for the setting to be merged with the rest of the seat config.