aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-05 15:34:52 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-07 20:45:16 +0100
commit4b7b214a7da4bac8d717234ccd67cb8562b533ea (patch)
tree18b96b934543cd3a47087cc57da7c1812e308110 /nx-X11
parent9117a5bf0fac83a716305f3715e36a8dd64f5517 (diff)
downloadnx-libs-4b7b214a7da4bac8d717234ccd67cb8562b533ea.tar.gz
nx-libs-4b7b214a7da4bac8d717234ccd67cb8562b533ea.tar.bz2
nx-libs-4b7b214a7da4bac8d717234ccd67cb8562b533ea.zip
Xserver/hw/nxagent/Screen.c: Drop commented out code. Functionality now implemented in intersect_bb() function.
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c16
1 files changed, 0 insertions, 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),