On Mon, Aug 30, 2010 at 08:11:32PM +0200, Konrad Hinsen wrote:
> On 30 Aug 2010, at 17:16, John J. Foerch wrote:
> 
> >No.. on all systems except OS X, the alt key is what conkeror
> >treats as
> >meta by default.
> 
> But how does it identify the alt key? By keysym, keycode (I hope
> not), or through X11's modifier system? I tried a lot of
> combinations playing with xmodmap and hitting all possible keys, but
> nothing seems to work.
> 
> Konrad.
> 


Mozilla calls Conkeror's keypress handler with an event object which has
properties describing the event.  The property altKey is true if alt was
pressed, and the property metaKey is true if the meta key was pressed.
The meta key is defined by gtk as mod4.  Conkeror then uses one or the
other of these properties to represent the "M" modifier, depending on the
operating system.  You can do some basic diagnostics with a program, xrev,
that is in Conkeror's contrib dir:

  cd conkeror/contrib/xrev
  xulrunner ./application.ini

-- 
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to