Hi,
some time ago I set up keyboard shortcuts for switching desktops with the
cursor keys. For example the left key calls the function
AddToFunc GotoDeskLeft
+ I . GotoDesk %{ ($[desk.n]%$f::hdesks >= 1) ? -1 : 0; }%
This function checks if the current desktop is in a certain range and calls
GotoDesk accordingly. The problem however is that when I hit the left key
very fast a couple of times, GotoDesk isn't finished between successive
calls to GotoDeskLeft. Therefore $[desk.n] might not be up to date in
certain calls to GotoDeskLeft and I end up on a desktop out of range.
Any ideas how to solve that problem?
Felix
--
To contact me in private don't reply but send email to
felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue May 20 2003 - 09:51:18 BST