workspace-change event now sends the previously focused workspace across all outputs (fixes #990)
Patch status: merged
Patch by jj
To apply this patch, use:
curl http://cr.i3wm.org/patch/122/raw.patch | git am
b/src/workspace.c
| 14 |
@@ -442,7 +442,7 @@ static void _workspace_show(Con *workspace) {
|
| 15 |
} else |
| 16 |
con_focus(next); |
| 17 |
|
| 18 |
- ipc_send_workspace_focus_event(workspace, old); |
| 19 |
+ ipc_send_workspace_focus_event(workspace, current); |
| 20 |
|
| 21 |
DLOG("old = %p / %s\n", old, (old ? old->name : "(null)"));
|
| 22 |
/* Close old workspace if necessary. This must be done *after* doing |