Bugfix: Fix assignment of clients to other workspaces (Thanks badboy)
The problem was that the old_focused pointer was pointing to an element of a different list. Using CIRCLEQ_APPEND_AFTER is not a good idea on with such an element…
This commit is contained in:
parent
086f6a47e3
commit
1c02ddb4a7
|
@ -326,6 +326,8 @@ void reparent_window(xcb_connection_t *conn, xcb_window_t child,
|
|||
|
||||
new->container = t_ws->table[t_ws->current_col][t_ws->current_row];
|
||||
new->workspace = t_ws;
|
||||
old_focused = new->container->currently_focused;
|
||||
|
||||
xcb_unmap_window(conn, new->frame);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue