VirtualBox

Changeset 16459 in vbox


Ignore:
Timestamp:
Feb 2, 2009 1:24:32 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt: attempt to fix a keyboard problem on Solaris hosts (dead keys not working)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/X11/keyboard-new.c

    r13339 r16459  
    112112    KeySym keysym = XKeycodeToKeysym(display, code, 0);
    113113    scan = 0;
    114     if (keysym)  /* otherwise, keycode not used */
     114    if (keysym != 0)  /* otherwise, keycode not used */
    115115    {
    116116        if ((keysym >> 8) == 0xFF)          /* non-character key */
     
    124124        else if (keysym == 0xFE03)          /* ISO level3 shift, aka AltGr */
    125125            scan = 0x138;
    126         else if (use_builtin_table != 0)
     126    }
     127    if (keysym != 0 && scan == 0)
     128    {
     129        if (use_builtin_table != 0)
    127130            scan = main_keyboard_type_scans[builtin_table_number][code];
    128131        else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette