From 46bd9ac58a9b2a096cf0ed443d49e8224900ae28 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 20 Mar 2010 02:52:06 +0100 Subject: [PATCH] Bugfix: correctly re-assign dock clients when output goes inactive --- src/randr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5