Bugfix: Switch to appropriate workspace when using 'focus' (+test) (Thanks rogutes)

Fixes #432
This commit is contained in:
Michael Stapelberg
2011-07-14 23:43:57 +02:00
parent 26d63fffc2
commit 2d71102796
5 changed files with 34 additions and 30 deletions

View File

@ -17,11 +17,6 @@ my $tmp = fresh_workspace;
# 1: open a floating window, get it mapped
#############################################################################
sub workspace_exists {
my ($name) = @_;
($name ~~ @{get_workspace_names()})
}
ok(workspace_exists($tmp), "workspace $tmp exists");
my $x = X11::XCB::Connection->new;