Oliver Graff 252db3b8cf Don't refocus a workspace cleaned up by workspace_show during rename
When moving a workspace to the current output by way of a rename, if the
current workspace is empty, it will be removed by `workspace_show`.
Attempting to restore focus to this removed workspace causes a crash.
Follow the pattern in workspace.c:996 to only restore the original focus if the
original workspace still exists.

Add a test to ensure that the renamed workspace moves to its appropriate
output and that a crash does not occur.

Fixes #3228
2018-05-01 11:25:13 +03:00
2018-03-10 18:35:11 +01:00
2018-04-21 16:50:57 +03:00
2018-04-27 00:09:42 +03:00
2018-04-15 15:34:40 -04:00
2018-03-10 18:29:14 +01:00
2017-09-10 07:43:53 +02:00
2018-03-10 18:29:14 +01:00
2018-03-10 18:53:20 +01:00

Logo i3: A tiling window manager

Build Status Issue Stats Pull Request Stats

i3 is a tiling window manager for X11.

For more information about i3, please see the project's website and online documentation.

For information about contributing to i3, please see CONTRIBUTING.md.

Description
Languages
C 58.3%
Perl 36.2%
Raku 2.6%
Ruby 1.2%
Meson 0.7%
Other 1%