modifier keys (Re: Two bugs in the Dillo GUI (both Mac and ubuntu))
"corvid" <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <20110822200851.GE25032@local> |
I wrote:
> By the way, the only mention of FL_META in Fl_x.cxx is
>
> # ifdef __sgi
> // get the meta key off PC keyboards:
> if (fl_key_vector[18]&0x18) Fl::e_state |= FL_META;
> # endif
>
> I'd assumed that, for FLTK under X, Meta was a synonym for Alt,
> or maybe the windows keys or something (which I don't have).
Can anyone with windows keys verify that they don't set FL_META?
There _is_ code for:
// For the first few years, there wasn't a good consensus on what the
// Windows keys should be mapped to for X11. So we need to help out a
// bit and map all variants to the same FLTK key...
switch (keysym) {
case XK_Meta_L:
case XK_Hyper_L:
case XK_Super_L:
keysym = FL_Meta_L;
break;
case XK_Meta_R:
case XK_Hyper_R:
case XK_Super_R:
keysym = FL_Meta_R;
break;
}
and maybe there's something going on somewhere that I haven't noticed.
I ask because perhaps we'll want to open an STR to get FL_META set.