Bugfix: correctly re-assign dock clients when output goes inactive

This commit is contained in:
Michael Stapelberg 2010-03-20 02:52:06 +01:00
parent aec40126b4
commit 46bd9ac58a
1 changed files with 1 additions and 1 deletions

View File

@ -447,8 +447,8 @@ void randr_query_outputs(xcb_connection_t *conn) {
Client *dock;
while (!SLIST_EMPTY(&(output->dock_clients))) {
dock = SLIST_FIRST(&(output->dock_clients));
SLIST_INSERT_HEAD(&(first->dock_clients), dock, dock_clients);
SLIST_REMOVE_HEAD(&(output->dock_clients), dock_clients);
SLIST_INSERT_HEAD(&(first->dock_clients), dock, dock_clients);
}
output->current_workspace = NULL;
output->to_be_disabled = false;