From 4b7b214a7da4bac8d717234ccd67cb8562b533ea Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 5 Mar 2018 15:34:52 +0100 Subject: Xserver/hw/nxagent/Screen.c: Drop commented out code. Functionality now implemented in intersect_bb() function. --- nx-X11/programs/Xserver/hw/nxagent/Screen.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c index cc44c1b7a..d8934a636 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c @@ -4126,22 +4126,6 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen) unsigned int new_w = 0; unsigned int new_h = 0; - /* - if ((nxagentOption(X) < bbx1 || (nxagentOption(X) + width >= bbx2 )) { - #ifdef DEBUG - fprintf(stderr, "nxagentAdjustRandRXinerama: output [%d] name [%s]: window has parts outside visible area - width stays unchanged [%d]\n", i, pScrPriv->outputs[i]->name, width); - #endif - new_w = width; - } - - if ((nxagentOption(Y) < bby1 || (nxagentOption(Y) + height >= bby2 ) { - #ifdef DEBUG - fprintf(stderr, "nxagentAdjustRandRXinerama: output [%d] name [%s]: window has parts outside visible area - height stays unchanged [%d]\n", i, pScrPriv->outputs[i]->name, height); - #endif - new_h = height; - } - */ - /* if there's no intersection disconnect the output */ #ifdef NXAGENT_RANDR_XINERAMA_CLIPPING disable_output = !intersect(nxagentOption(X), nxagentOption(Y), -- cgit v1.2.3