]> git.sur5r.net Git - i3/i3/commit - testcases/t/156-fullscreen-focus.t
Refined the fullscreen focus constraints.
authorFernando Tarlá Cardoso Lemos <fernandotcl@gmail.com>
Sat, 26 May 2012 20:37:45 +0000 (17:37 -0300)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 3 Jun 2012 14:24:53 +0000 (16:24 +0200)
commitda1e2327577ac41e222953428e9a739173e24c86
tree2dcf6078f5e5b0f7ee0f66270d060814b53d3636
parent0618ef649ec182ed00f3249e7410b5c7fe780860
Refined the fullscreen focus constraints.

Basically, a focus change can't escape a fullscreen container. The
only exception is per-output fullscreen containers, as you should
be able to focus a container in a different workspace in this case.

This is an improvement on 4eab046e, now considering the difference
between global and per-output fullscreen and taking the tree
structure into account to determine what escaping the fullscreen
container means. It only affects targeted focus commands in the
form "for_window [...] focus", but it lays the foundation for
forthcoming fixes to all other focus commands.
include/con.h
src/commands.c
src/con.c
testcases/t/156-fullscreen-focus.t