swayfx/sway/desktop
Ryan Dwyer a120d4c79f Make focus part of transactions
Rather than maintain copies of the entire focus stack, this PR
transactionises the focus by introducing two new properties to the
container state and using those when rendering.

* `bool focused` means this container has actual focus. Only one
container should have this equalling true in its current state.
* `struct sway_container *focus_inactive_child` points to the immediate
child that was most recently focused (eg. for tabbed and stacked
containers).
2018-07-15 22:08:26 +10:00
..
desktop.c Implement some floating move commands 2018-07-09 23:38:29 +10:00
idle_inhibit_v1.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
layer_shell.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
output.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
render.c Make focus part of transactions 2018-07-15 22:08:26 +10:00
transaction.c Make focus part of transactions 2018-07-15 22:08:26 +10:00
xdg_shell.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
xdg_shell_v6.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
xwayland.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00