VirtualBox

Changeset 2726 in vbox for trunk/src


Ignore:
Timestamp:
May 21, 2007 9:19:13 AM (18 years ago)
Author:
vboxsync
Message:

two typos and two comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp

    r2708 r2726  
    166166    // Another reason to handle events asynchronously is that internally
    167167    // most callback interface methods are called from under the initiator
    168     // object's lock, so accessing the initiator object (for examile, reading
     168    // object's lock, so accessing the initiator object (for example, reading
    169169    // some property) directly from the callback method will definitely cause
    170170    // a deadlock.
     
    28892889    if (aSwitchDesktop)
    28902890    {
    2891         /* try to find a desktop ID */
     2891        /* try to find the desktop ID using the NetWM property */
    28922892        CARD32 *desktop = (CARD32 *) XXGetProperty (dpy, aWId, XA_CARDINAL,
    28932893                                                    "_NET_WM_DESKTOP");
    28942894        if (desktop == NULL)
     2895            /* if the NetWM propery is not supported try to find the desktop
     2896             * ID using the GNOME WM property */
    28952897            desktop = (CARD32 *) XXGetProperty (dpy, aWId, XA_CARDINAL,
    28962898                                                "_WIN_WORKSPACE");
     
    29032905            if (!ok)
    29042906            {
    2905                 LogWarningFunc (("Couldn't swith to desktop=%08X\n",
     2907                LogWarningFunc (("Couldn't switch to desktop=%08X\n",
    29062908                                 desktop));
    29072909                result = false;
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