I WarpToWindow 50 50[/code]
This first moves the current window to the next/previous desktop, gives the next window on the current desk the focus (to leave the desktop with something focused), goes to the desktop the window has been moved to but does not raise it.
Maybe someone got an idea what’s wrong with that? I don’t get it working, even if I leave out the “Next (!Iconic !Shaded AcceptsFocus CurrentPage) FlipFocusRaise”-part and replace “+ I Raise” with “Focus”, “FlipFocusRaise” or something like that.
Thanks for pointing this out, this was of course a mistake. Note to self: Don’t try to be productive at one o’clock in the morning.
Ok, I didn’t know that the conditions should be separated by commas, but I’ll remember that.
I think you mean I should do it this way:+ I Prev Raise But that does not work either, maybe I’m missing something? Please forgive me if this sounds stupid or something, but I’m pretty new to Fvwm. Even though I got almost everything working like it should this one thing is driving me crazy.
If I understand the docs correctly this should do what I want:[code]DestroyFunc MoveWindowToDesk
I MoveToDesk $0 0 5
I GotoDesk $0 0 5
Where $0 is -1 or +1 for the previous resp. next desktop. I don’t even understand why I should replace “Raise” with “Prev Raise”, this just does not make sense to me.