ratpoison-devel
[Top][All Lists]
Advanced

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

Re: [RP] 2 greater than 1?


From: shawn
Subject: Re: [RP] 2 greater than 1?
Date: Sun, 18 Feb 2001 12:46:51 -0800

>
>is it just me or does rp have a strange idea of next and prev? it seems like 
>next swiches down one window and prev up. applies to both "C-t:next" and 
>"C-tn".

It has a strange idea of next and prev. Numbers are attached to
windows, but they are ultimately stored in a list that is not
affiliated with their number. But you may be wondering why next goes
to the previous window and prev goes to the next window? This is
because when the bar is drawn it is drawn backwards. This was done
because as windows are opened they were being put at the left end of
the bar but they have the biggest numbers (in the beginning at
least). Clearly from a user perspective its a bug. 

The window list just needs to be sorted by the window numbers. 

Or the window list could become a dynamically resized array. The
window numbers are the indexes into the array. This seems nice, but
the reason this wasn't done in the first place is because windows can
be unmapped, in which case they don't show up in the window list, but
they take up a number. This means you boot netscape and the visible
netscape window gets 10, even though its the only window showing.



reply via email to

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