feature/configuration question

Brian J. Tarricone bjt23 at cornell.edu
Tue May 11 22:15:52 CEST 2004


On Tue, 11 May 2004, Wolf Lichtenberger wrote:

> Hi,
> 
> Brian J. Tarricone wrote:
>  > On Tue, 11 May 2004, Wolf Lichtenberger wrote:
>  >>
>  >>Brian J. Tarricone wrote:
>  >>
>  >>>On Tue, 11 May 2004, Lubos Soltes wrote:
>  >>>
>  >>>>	1. Is it possible to configure xfce4 so that Alt+Tab window
>  >>>>	   (task switcher) will display all windows on the current
>  >>>>	   workspace, not just the one being switched to?
>  >>
>  >>[...]
>  >> >>
>  >>
>  >>>i dunno - this might be a bit of a heavy feature to justify including,
>  >>>but, if not, it would be nice.
>  >>
>  >>IMHO we have this already, if Window Cycling would re-use xfdesktops Window List.
>  >
>  > not really - it's the ordering that matters.  the bulk of it is GUI
>  > code, anyway, and a menu doesn't really translate into a window...
> 
> Well, what i meant is that the Windowlist code is already there and does most of
>   the wanted feature: after middle click on background you can navigate it with
> the cursor up and down as well as changing to a window with Return.
> 
> So what's missing is code to let xfdesktop display this on Alt-Tab (via xfwm4's
> shortcuts and a command?) and perhaps additionally navigating it with
> Alt-(Shift-)Tab.
> 
> IMHO the most code (the navigable popup menu) is already done, which could make
> the rest much more feasible.
> 
> What do you think?

you're missing the point.  you are correct in saying that the window 
list is a part of xfdesktop.  however, the alt+tab behaviour is a part 
of xfwm4, and will remain so.

the bulk of the windowlist code is useless for the alt+tab box.  
xfdesktop uses libnetk (aka, our rebranded copy of libwnck) to get a 
list of windows on the workspace, and their icons (cvs version), and 
then generates a normal GtkMenu to hold them.  xfwm4 does not use any 
libnetk functions.  it maintains its own list of windows, and would need 
to consult that for the proper order to display the icons (or names) in 
the alt+tab box.  the box itself would be constructed of a bunch of 
GtkImage widgets (if using the icons), probably packed into a GtkTable.  
quite a different thing.

either way, it probably wouldn't be too hard to implement; it's just not 
correct to say that most of the work is done and you could use the 
windowlist implementation.

	-brian




More information about the Xfce mailing list