From d646db81bc9242653a3219e0f45e18aeb65fe533 Mon Sep 17 00:00:00 2001 From: Bojan Smojver Date: Tue, 1 Sep 2020 17:44:02 +1000 Subject: [PATCH] Remove unused patch. --- xorgxrdp-0.2.12-xrandr-resize-revert.patch | 48 ---------------------- 1 file changed, 48 deletions(-) delete mode 100644 xorgxrdp-0.2.12-xrandr-resize-revert.patch diff --git a/xorgxrdp-0.2.12-xrandr-resize-revert.patch b/xorgxrdp-0.2.12-xrandr-resize-revert.patch deleted file mode 100644 index 08b34eb..0000000 --- a/xorgxrdp-0.2.12-xrandr-resize-revert.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- b/module/rdp.h -+++ a/module/rdp.h -@@ -270,7 +270,6 @@ - RROutputGetPropertyProcPtr rrOutputGetProperty; - RRGetPanningProcPtr rrGetPanning; - RRSetPanningProcPtr rrSetPanning; -- int allow_screen_resize; - - int listen_sck; - char uds_data[256]; ---- b/module/rdpClientCon.c -+++ a/module/rdpClientCon.c -@@ -746,9 +746,7 @@ - - if ((dev->width != width) || (dev->height != height)) - { -- dev->allow_screen_resize = 1; - ok = RRScreenSizeSet(dev->pScreen, width, height, mmwidth, mmheight); -- dev->allow_screen_resize = 0; - LLOGLN(0, ("rdpClientConProcessScreenSizeMsg: RRScreenSizeSet ok=[%d]", ok)); - RRTellChanged(dev->pScreen); - } ---- b/module/rdpRandR.c -+++ a/module/rdpRandR.c -@@ -127,11 +127,6 @@ - LLOGLN(0, ("rdpRRScreenSetSize: width %d height %d mmWidth %d mmHeight %d", - width, height, (int)mmWidth, (int)mmHeight)); - dev = rdpGetDevFromScreen(pScreen); -- if (dev->allow_screen_resize == 0) -- { -- LLOGLN(0, ("rdpRRScreenSetSize: not allowing resize")); -- return FALSE; -- } - root = rdpGetRootWindowPtr(pScreen); - if ((width < 1) || (height < 1)) - { ---- b/xrdpdev/xrdpdev.c -+++ a/xrdpdev/xrdpdev.c -@@ -359,9 +359,7 @@ - if ((dev->width != width) || (dev->height != height)) - { - LLOGLN(0, (" calling RRScreenSizeSet")); -- dev->allow_screen_resize = 1; - ok = RRScreenSizeSet(dev->pScreen, width, height, mmwidth, mmheight); -- dev->allow_screen_resize = 0; - LLOGLN(0, (" RRScreenSizeSet ok %d", ok)); - } - return ok;