Re: lisp help w/ x-cycle

Jeremy Hankins <nowan nowan org> writes:
> Presumably this failed because x-cycle is doing some magic to keep track
> of whether the modifier key is kept depressed, and this steps all over
> that.

Indeed.  Window cycling is rather complicated unless one settles for a
crappy implementation that only shows some icons in a popup and does
not manipulate actual windows until the user stops cycling.  Even that
simplest implementation must keep track when the user stops cycling,
i.e., releases the modifier.  Neither stacking nor MRU order of
windows that are only cycled through should be affected.

> So does anyone have any suggestions?

Have you tried straightforwardly using define-cycle-command-pair with
your own selector function?  If no appropriate windows exist, the
selector would invoke a command to start the application and return
nil, which makes the cycling command do nothing further.

	Timo Korvola		<URL:>

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