parent
aee9db0873
commit
d646db81bc
@ -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;
|
Loading…
Reference in new issue