[X2Go-Commits] [nx-libs] 06/09: nx-X11/programs/Xserver/hw/nxagent/Screen.c: add debugging to intersect for non-feasible intersections.

git-admin at x2go.org git-admin at x2go.org
Mon May 7 07:47:57 CEST 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x-rpm-debug
in repository nx-libs.

commit 33796aaa9abf5618466e3c0c4a2547b78c4af244
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue May 1 18:01:37 2018 +0200

    nx-X11/programs/Xserver/hw/nxagent/Screen.c: add debugging to intersect for non-feasible intersections.
---
 nx-X11/programs/Xserver/hw/nxagent/Screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index 53c18e7..7bc61c8 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -3669,7 +3669,7 @@ static Bool intersect(int ax1, int ay1, unsigned int aw, unsigned int ah,
     if (iw <= 0 || ih <= 0) {
 
         #ifdef DEBUG
-        fprintf(stderr, "intersect: intersection rectangle not feasible\n");
+        fprintf(stderr, "%s: intersection rectangle not feasible: width [%u], calculated as ([%d] - [%d]) [%u]; height [%u], calculated as ([%d] - [%d]) [%u]\n", __func__, iw, tx2, tx1, (tx2 - tx1), ih, ty2, ty1, (ty2 - ty1));
         #endif
 
         return FALSE;

--
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