Blame VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch
|
Hans de Goede |
bd5ab5 |
diff -up VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp~ VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
|
|
Hans de Goede |
bd5ab5 |
--- VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp~ 2020-02-18 18:13:08.000000000 +0100
|
|
Hans de Goede |
bd5ab5 |
+++ VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp 2020-03-03 16:27:49.947341705 +0100
|
|
Hans de Goede |
bd5ab5 |
@@ -100,16 +100,19 @@ static void x11Connect(struct X11CONTEXT
|
|
Hans de Goede |
bd5ab5 |
{
|
|
Hans de Goede |
bd5ab5 |
XCloseDisplay(pContext->pDisplay);
|
|
Hans de Goede |
bd5ab5 |
pContext->pDisplay = NULL;
|
|
Hans de Goede |
bd5ab5 |
+ return;
|
|
Hans de Goede |
bd5ab5 |
}
|
|
Hans de Goede |
bd5ab5 |
if (!XRRQueryExtension(pContext->pDisplay, &pContext->hRandREventBase, &pContext->hRandRErrorBase))
|
|
Hans de Goede |
bd5ab5 |
{
|
|
Hans de Goede |
bd5ab5 |
XCloseDisplay(pContext->pDisplay);
|
|
Hans de Goede |
bd5ab5 |
pContext->pDisplay = NULL;
|
|
Hans de Goede |
bd5ab5 |
+ return;
|
|
Hans de Goede |
bd5ab5 |
}
|
|
Hans de Goede |
bd5ab5 |
if (!XRRQueryVersion(pContext->pDisplay, &pContext->hRandRMajor, &pContext->hRandRMinor))
|
|
Hans de Goede |
bd5ab5 |
{
|
|
Hans de Goede |
bd5ab5 |
XCloseDisplay(pContext->pDisplay);
|
|
Hans de Goede |
bd5ab5 |
pContext->pDisplay = NULL;
|
|
Hans de Goede |
bd5ab5 |
+ return;
|
|
Hans de Goede |
bd5ab5 |
}
|
|
Hans de Goede |
bd5ab5 |
pContext->rootWindow = DefaultRootWindow(pContext->pDisplay);
|
|
Hans de Goede |
bd5ab5 |
}
|