[X2Go-Commits] [nx-libs] 02/06: Xserver/hw/nxagent/Screen.c: Drop commented out code. Functionality now implemented in intersect_bb() function.
git-admin at x2go.org
git-admin at x2go.org
Wed Mar 7 21:58:04 CET 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit 4b7b214a7da4bac8d717234ccd67cb8562b533ea
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Mar 5 15:34:52 2018 +0100
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 cc44c1b..d8934a6 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),
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list