From 2926ddb69f5101e117e5830ebcd1380e9da3154c Mon Sep 17 00:00:00 2001 From: "haptix@web.de" Date: Sat, 30 Mar 2013 16:00:39 +0100 Subject: [PATCH] ipc: use correct workspace in workspace change event fixes #990 --- src/workspace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workspace.c b/src/workspace.c index 5a0913bf..17f5ac33 100644 --- a/src/workspace.c +++ b/src/workspace.c @@ -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 -- 2.39.5