From: Michael Stapelberg Date: Sat, 20 Mar 2010 01:52:06 +0000 (+0100) Subject: Bugfix: correctly re-assign dock clients when output goes inactive X-Git-Tag: 3.e~6^2~48 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=46bd9ac58a9b2a096cf0ed443d49e8224900ae28;p=i3%2Fi3 Bugfix: correctly re-assign dock clients when output goes inactive --- diff --git a/src/randr.c b/src/randr.c index 3be654a7..ab79ea5b 100644 --- a/src/randr.c +++ b/src/randr.c @@ -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;