[w3m-dev-en 00031] Remaining difference xterm/gpm <-> sysmouse

From: Christian Weisgerber (w3m-dev-en@mips.rhein-neckar.de)
Date: Tue Jan 25 2000 - 10:50:03 CST


I think I can safely announce that the sysmouse support is now
usable.

However, there is still a small difference compared to xterm/gpm
that I have been unable to pin down so far:

- Double click on an option box (<select>...</select>).
  (For testing purposes I usually use "Color of normal character"
  in w3m's options screen.)
- The option menu pops up with the current value of the option
  pre-selected.
- Click outside of the presented option menu to cancel the menu.
- Now, what value does the option have?

With xterm/gpm, the value is the old one, which was preselected.
With sysmouse, the value is always set to the first one in the
menu. (In the abovementioned color option example it is always set
to "0:black".) I can explicitly choose a value without a problem,
the issue here is the default value selected when the menu is
canceled, either by clicking outside or by pressing ^C.

Obviously, there must be *some* different in mouse handling between
xterm/gpm and sysmouse that causes this, but I'm at a loss what
this could be. Any ideas for what to look?

What is the function call graph for an option menu?
 

-- 
Christian "naddy" Weisgerber                     naddy@unix-ag.uni-kl.de



This archive was generated by hypermail 2b29 : Wed Jul 19 2000 - 10:30:43 CDT