Commit ed7b9b53 authored by Tinu Weber's avatar Tinu Weber

workspace_set_floating: Change policiy for attaching to list

For floating, we always push to the top, whereas for tiled, we always
append at the end. Seems more intuitive to me. If wished, this can be
made configurable at some point.
parent a8695a2c
......@@ -183,7 +183,7 @@ workspace_set_floating(struct workspace *ws, struct client *c, bool floating)
list_remove(src, c, NULL);
c->floating = floating;
if (ws->selcli == c)
if (dst == ws->floating)
list_prepend(dst, c);
list_append(dst, c);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment