ipc: use correct workspace in workspace change event

fixes #990
This commit is contained in:
haptix@web.de 2013-03-30 16:00:39 +01:00 committed by Michael Stapelberg
parent 43bf72fc5d
commit 2926ddb69f
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ static void _workspace_show(Con *workspace) {
} else
con_focus(next);
ipc_send_workspace_focus_event(workspace, old);
ipc_send_workspace_focus_event(workspace, current);
DLOG("old = %p / %s\n", old, (old ? old->name : "(null)"));
/* Close old workspace if necessary. This must be done *after* doing