VirtualBox

Changeset 3908 in vbox


Ignore:
Timestamp:
Jul 27, 2007 4:48:00 PM (18 years ago)
Author:
vboxsync
Message:

Reverted to the (updated) Wine code for the Qt front end in Linux

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r3802 r3908  
    1919# license agreement apply instead of the previous paragraph.
    2020#
    21 
    22 ifeq ($(BUILD_TARGET),linux)
    23 XKEYBOARD_NEW := 1
    24 endif
    2521
    2622# include qmake project file
     
    150146VirtualBox_SOURCES.linux = \
    151147        src/linux/XKeyboard.cpp \
    152         src/linux/keyboard.c \
    153         src/linux/XKeyboardNew.cpp
     148        src/linux/keyboard.c
    154149
    155150VirtualBox_SOURCES.darwin = \
  • trunk/src/VBox/Frontends/VirtualBox/src/linux/XKeyboard.cpp

    r2981 r3908  
    4848
    4949/*
    50  * This needs to be called to initialize the WINE keyboard subsystem
    51  * within our environment.
     50 * This function builds a table mapping the X server's scan codes to PC
     51 * keyboard scan codes.  The logic of the function is that while the
     52 * X server may be using a different set of scan codes (if for example
     53 * it is running on a non-PC machine), the keyboard layout should be similar
     54 * to a PC layout.  So we look at the symbols attached to each key on the
     55 * X server, find the PC layout which is closest to it and remember the
     56 * mappings.
    5257 */
    53 bool initXKeyboardSafe(Display *dpy)
     58bool initXKeyboard(Display *dpy)
    5459{
    5560    // update the global display pointer
     
    6065
    6166/*
    62  * our custom X keyboard event handler with the goal to try everything
    63  * possible to undo the dreaded scancode to X11 conversion. Sigh!
     67 * Translate an X server scancode to a PC keyboard scancode.
    6468 */
    65 void handleXKeyEventSafe(Display *dpy, XEvent *event, WINEKEYBOARDINFO *wineKbdInfo)
     69void handleXKeyEvent(Display *dpy, XEvent *event, WINEKEYBOARDINFO *wineKbdInfo)
    6670{
    6771    // update the global display pointer
     
    7175}
    7276
    73 int getKeysymsPerKeycodeSafe()
     77int getKeysymsPerKeycode()
    7478{
    7579    return X11DRV_GetKeysymsPerKeycode();
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