Re: FVWM: Mouse buttons and menus changing randomly

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Thu, 7 Feb 2002 20:03:16 +0000

On 07 Feb 2002 16:00:56 +0000, Thomas Adam wrote:
>
> I am having a rather strange problem. Currently I have
> a three-button mouse (X11 recognises this). I have
> configured FVWM2 so that the following happens:
>
> Mouse 1 (root window) "Root Menu"
> Mouse 3 (middle button) (root window) "Window List"
> Mouse 2 (right button) (root window) "Program menu"
>
> The configurations for clicking on frames, windows,
> borders have been left via the de facto.
>
> My problem is that after a while, of using the mouse,
> I find that my mappings of buttons to the menus
> suddenly changes, so that for example, if I click the
> left hand mouse button to iconify my window, it will
> bring up a "Window Config" menu, and not iconify.
>
> Other menus are also mapped to other buttons.
> Restarting FVWM2 has no effect. The only way to fix
> it, is to completely restart xdm.
>
> Would anybody know why this would occur?? On inital
> loading of AnotherLevel, all the mappings of menus to
> buttons work fine.

Seems like an X problem. Run xev to see what button numbers your mouse
returns at different times.

It is possible to renumber mouse buttons using something like:

  xmodmap -e "pointer = 3 1 2"
  xmodmap -e "pointer = 1 2 3 8 4 5 6 7" # a line from my ~/.xinitrc

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 Thu Feb 07 2002 - 14:04:41 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST