gri3-wm/testcases
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
..
lib Support _NET_WM_STATE_FOCUSED 2018-03-23 14:30:57 +02:00
t Don't refocus a workspace cleaned up by `workspace_show` during rename 2018-05-01 11:25:13 +03:00
.gitignore Testcases: Use Xephyr instead of XDummy 2014-10-02 23:05:00 +02:00
Makefile.PL testcases/Makefile.PL: tell MakeMaker this is a pure-Perl distribution (#2922) 2017-09-10 11:25:43 +02:00
complete-run.pl.in complete-run.pl: accept the xvfb option from command line 2017-12-05 00:22:14 +02:00
i3-test.config Extend the fullscreen command 2014-12-10 20:42:52 +01:00
inject_randr1.5.c WIFEXITED needs sys/wait.h (#2989) 2017-09-25 09:11:15 -07:00
new-test Replace http:// with https:// where applicable 2017-09-24 10:19:07 +02:00
restart-state.golden tests: implement restart testing (actual option still missing) 2011-12-21 23:15:30 +00:00
valgrind.supp Add valgrind suppression file to testcases 2014-03-10 17:37:41 +01:00