Re: [dwm] remembering client order in each tag

From: Sander van Dijk <>
Date: Wed, 6 Sep 2006 19:20:00 +0200

On 9/6/06, Anthony Brown <> wrote:
> Apologies if I'm annoying but I made sure I'm running dwm-1.4 and I
> still see that the z-ordering is not preserved (for overlapping windows
> in float mode). The z ordering is lost when changing from one tag to
> another and back.

Actually, 1.4 does preserve z-ordering when switching between tags
(which was, reading the code, to be expected).
What is doesn't do (and quite likely shouldn't either, considering the
combinatorial explosion that would give) is remember where the focus
was. When the selected client leaves the view (for instance when
switching to a tagview that the selected client isn't part of), dwm
focuses and raises the first client in the list that is part the new
view. Hence, the "last started" client will be topmost.
You'll notice however that for all the other clients, z-ordering _is_
preserved. Since remembering where the focus last was for all possible
combinations of tagviews is not very feasible, I think this is
something we'll just have to accept...

Greetings, Sander.
Received on Wed Sep 06 2006 - 19:20:03 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:59 UTC