stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [STUMP] Window list order


From: Shawn Betts
Subject: Re: [STUMP] Window list order
Date: Tue, 24 Sep 2013 10:07:46 -0700

On Tue, Sep 24, 2013 at 1:20 AM, Janez Belina <address@hidden> wrote:
> I've been using xfce's panel with stump since I started using a laptop, and
> I've noticed something that bothered me. It seems xfces window list is a
> simple list, where windows are ordered by time of creation, which i would
> assume to be the same model stump would use for cycling windows via C-t n/p
> and so on, but it doesnt always seem to be the case, as sometimes stump
> seems to cycle almost randomly through the list (at least i cant see a
> pattern). This is bothersome as I would take my visual cues as to which
> window im cycling to from xfces panel, and end up somewhere else entirely.
> So anyways, whats up with that?

In Stumpwm each window has a number associated with it. Stumpwm sorts
the windows by number. So long as you are only creating windows then
sorting by number and creation time produces the same ordering.
However, when a window is deleted the windows keep their numbers
(window #1 stays windows #1, and C-t 1 will go to the expected
window). This means there is now a hole in the list. So the next
window is placed in that hole, taking on the same number as the last
deleted window. It's all very sane if you use C-t w to list the
windows.

I'm not sure how you could get xfce's panel and stumpwm working
together better, though.

-Shawn



reply via email to

[Prev in Thread] Current Thread [Next in Thread]