On 13 Apr 2003 22:38:58 -0700, Ken Deeter wrote:
>
> This seems to work pretty well, except that if you have ClickToFocus and
> ClickToFocusRaises enabled, it only works if you map keyboard events to
> GotoPage-like events. In my setup, I use the pager, and when I click on
> the pager it gets focus, and because it gets focus, the FvwmButtons
> would always be the focused window when I switched around using the
> pager,
>
> so my solution was to change all occurances of M_FOCUS_CHANGE in the
> perl script to M_RAISE_WINDOW. Then in my .fvwm2rc say:
>
> Style FvwmButtons ClickToFocus, ClickToFocusRaisesOff
Or better yet mark all windows that should not be focused:
Style FvwmButtons NeverFocus
Then you may return to M_FOCUS_CHANGE since it is more correct.
> so that the window that the perl script tracks will not be over written
> just because i clicked in the pager. I suppose another solution would
> be to make the script explicity ignore FvwmButtons or FvwmPager focus
> events, but that seems like a bit of a hack anyways.. for ClickToFocus
> type settings this seems to be reasonable.
Regards,
Mikhael.
--
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 Mon Apr 14 2003 - 04:35:36 BST