Changeset 86469 in vbox for trunk/src/VBox/Additions/x11/VBoxClient
- Timestamp:
- Oct 7, 2020 2:33:09 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 140777
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
r86459 r86469 903 903 x11Context.fWmwareCtrlExtention = false; 904 904 x11Context.fMonitorInfoAvailable = false; 905 x11Context.hRandRMajor = 0; 906 x11Context.hRandRMinor = 0; 905 907 906 908 int dummy; … … 952 954 return; 953 955 } 956 if (x11Context.hRandRMajor < 1 || x11Context.hRandRMinor <= 3) 957 { 958 VBClLogFatalError("Resizing service requires libXrandr Version >= 1.4. Detected version is %d.%d\n", x11Context.hRandRMajor, x11Context.hRandRMinor); 959 XCloseDisplay(x11Context.pDisplay); 960 x11Context.pDisplay = NULL; 961 return; 962 } 954 963 } 955 964 x11Context.rootWindow = DefaultRootWindow(x11Context.pDisplay); … … 1024 1033 CurrentTime, 0, 0, None, RR_Rotate_0, NULL, 0); 1025 1034 #endif 1035 /** @todo In case of unsuccesful crtc config set we have to revert frame buffer size and crtc sizes. */ 1026 1036 if (ret == Success) 1027 1037 return true; … … 1098 1108 #endif 1099 1109 XRRScreenSize newSize = currentSize(); 1100 /** @todo In case of unsuccesful frame buffer resize we have to revert frame buffer size and crtc sizes. */ 1110 1101 1111 if (!event || newSize.width != (int)iXRes || newSize.height != (int)iYRes) 1102 1112 {
Note:
See TracChangeset
for help on using the changeset viewer.