Merge pull request #4018 from orestisfl/reorder-docks

Sort dock clients by class and instance
This commit is contained in:
Ingo Bürk
2020-04-15 08:36:10 +02:00
committed by GitHub
5 changed files with 52 additions and 18 deletions

View File

@ -1148,9 +1148,7 @@ static bool handle_strut_partial_change(Con *con, xcb_get_property_reply_t *prop
/* attach the dock to the dock area */
con_detach(con);
con->parent = dockarea;
TAILQ_INSERT_HEAD(&(dockarea->focus_head), con, focused);
TAILQ_INSERT_HEAD(&(dockarea->nodes_head), con, nodes);
con_attach(con, dockarea, true);
tree_render();