"Jan T. Kim" wrote:
>
> Hi all,
>
> here's a quick question: Is it possible to raise a window and rotate it
> to the top of the windowlist without having to give that window the
> keyboard focus?
No. The windowlist is always headed by the window that has focus and is
used as the starting point for next/prev commands in functions.
>
> Key Next R N Function Next-Focus-and-Raise
> AddToFunc Next-Focus-and-Raise "I" Next [*] Raise
> + "I" Next [*] Focus
>
> This works once, but not repeatedly. Somewhat weirdly, the the Focus
> command gives the keyboard focus to the target window, even though
> this is inconsistent with MouseFocus if the mouse pointer is over the
> root window.
The focus command has to work no matter what focus style is used or it
would be useless. MouseFocus just means that an implicit focus command
is run every time the mouse enters a window. ClickToFocus does the focus
command when the mouse is clicked on a window.
> As a result, all but the first PageDown keypresses are
> sent to the application owning the target window instead of being
> processed by fvwm2.
Correct. The key binding is for the root context only, it means it is
active when no window has the focus, it doesn't mean active when the
mouse is in the root window. If you want that you could bind a mouse
button:
Mouse 1 R N Function Next-Focus-and-Raise
> A while ago, I have settled for
> Key Next A CM Function Next-Focus-and-Raise
> However, I am not satisfied with this solution, because (1) I don't
> like having the window manager taking away keypresses from applications
> which do have the keyboard focus and (2) I find pressing
> Ctrl-Alt-PageDown quite inconvenient, so I don't use this as often as I
> might do otherwise.
A solution for (2) is to use a more convenient key binding. I use KP_Add
and KP_Subtract. I haven't found a program yet thatneed these and can't
use the normal plus/minus keys.
(1) is difficult. As you have found you can't have keyboard driven
circulation without moving the focus, therefore you have to take those
keys away from applications.
Cheers,
Tim.
>
> Thanx in advance for any hints.
>
> Greetinx, Jan
> --
> +- Jan T. Kim -------------------------------------------------------+
> | email: kim_at_mpiz-koeln.mpg.de |
> | WWW: http://www.mpiz-koeln.mpg.de/~kim/ |
> *-----=< hierarchical systems are for files, not for humans >=-----*
> --
> 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.
--
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 Mar 14 2000 - 08:23:18 GMT