VirtualBox

Changeset 99526 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Apr 25, 2023 1:22:08 PM (21 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10407. I have missed one place where we need X11 server check.

File:
1 edited

Legend:

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

    r99479 r99526  
    502502        case KMachineState_TeleportingIn:
    503503        {
    504             /* The keyboard handler may wish to do some release logging on startup.
    505              * Tell it that the logger is now active. */
    506             doXKeyboardLogging(NativeWindowSubsystem::X11GetDisplay());
     504            if (uiCommon().X11ServerAvailable())
     505            {
     506                /* The keyboard handler may wish to do some release logging on startup.
     507                 * Tell it that the logger is now active. */
     508                doXKeyboardLogging(NativeWindowSubsystem::X11GetDisplay());
     509            }
    507510            break;
    508511        }
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