Re: [i3] Change focus in i3-tree

  • From: Michael Stapelberg <michael+i3@xxxxxxxxxxxxx>
  • To: i3-discuss <i3-discuss@xxxxxxxxxxxxx>
  • Date: Sun, 17 Jul 2011 22:16:49 +0200

Hi Marcus,

Excerpts from Marcus Crestani's message of 2011-07-17 21:50:58 +0200:

I should've tried this syntax instead of all the variations I've
actually tried that didn't work...
:).

How to sequence commands would be a great addition to the User's Guide.
Correct, I will add it.

Also, couldn't i3-migrate-config-to-v4.pl translate the 'with container'
commands to the navigate parent equivalent (i.e. "wch" -> "focus parent;
focus left"), instead of complaining "'with container' commands are
obsolete in 4.x"?
Good idea, thanks. Will change that, too.

Another question: Is there a way to prevent the focus commands from
moving focus to outside the parent's subtree?
Not yet. What you describe is reasonable and it was actually implemented this
way until commit d641e1da3ba1586bc563f09e216ee7577d4a8b6f. We changed the
implementation to its current state because it makes focus switching possible
for people who don’t know focus parent yet. I guess making this behaviour
configurable is fine, but I don’t want to do that before the first release of
v4.0.

If you want me to remember it for later, please file an enhancement ticket at
our bugtracker :).

Best regards,
Michael

Other related posts: