VirtualBox

Changeset 84252 in vbox


Ignore:
Timestamp:
May 11, 2020 12:08:56 PM (5 years ago)
Author:
vboxsync
Message:

bugref:9637. Listening to RRScreenChangeNotify event seems to be sufficient

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp

    r84219 r84252  
    563563    {
    564564        case RRScreenChangeNotify:
    565             VBClLogInfo("RRScreenChangeNotify\n");
     565            VBClLogInfo("RRScreenChangeNotify event received\n");
    566566            queryMonitorPositions();
    567567            break;
    568         case RRNotify:
    569             VBClLogInfo("RRNotify\n");
    570             break;
    571568        default:
    572             VBClLogInfo("Unknown RR event: %d\n", event.type);
    573569            break;
    574570    }
     
    808804                                                      &x11Context.hVMWCtrlMajorOpCode, &dummy, &dummy);
    809805    if (!x11Context.fWmwareCtrlExtention)
    810         VBClLogError("VMWARE's ctrl extension is not available!\n");
     806        VBClLogError("VMWARE's ctrl extension is not available! Multi monitor management is not possible\n");
    811807    else
    812     {
    813808        VBClLogInfo("VMWARE's ctrl extension is available. Major Opcode is %d.\n", x11Context.hVMWCtrlMajorOpCode);
    814     }
    815809
    816810    /* Check Xrandr stuff. */
     
    840834    x11Context.rootWindow = DefaultRootWindow(x11Context.pDisplay);
    841835    x11Context.hEventMask = RRScreenChangeNotifyMask;
    842     if (x11Context.hRandRMinor >= 2)
    843         x11Context.hEventMask |= RRCrtcChangeNotifyMask
    844                                | RROutputChangeNotifyMask
    845                                | RROutputPropertyNotifyMask;
    846836
    847837    /* Select the XEvent types we want to listen to. */
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