aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-01-14 22:16:32 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-07 12:55:04 +0200
commit3053d7a80694fefdbbfcc3edfeec80fbfa674127 (patch)
treebde4ad6d6e6d164557759ddc558a2ee328146e7e /nx-X11/programs/Xserver
parentad90098f107832c9e975fb9780ea3dbecb4a0d56 (diff)
downloadnx-libs-3053d7a80694fefdbbfcc3edfeec80fbfa674127.tar.gz
nx-libs-3053d7a80694fefdbbfcc3edfeec80fbfa674127.tar.bz2
nx-libs-3053d7a80694fefdbbfcc3edfeec80fbfa674127.zip
xkb/xkbUtils.c: add link to bugreport
The problem we are fixing (or better "working around") here has also been seen in XQuartz, but no-one has found the reason yet. Point to bugreport so that anyone stumbling over this in future can check if there's a better fix and possibly implement that one.
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r--nx-X11/programs/Xserver/xkb/xkbUtils.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/xkb/xkbUtils.c b/nx-X11/programs/Xserver/xkb/xkbUtils.c
index 941bb4038..4f49c44cb 100644
--- a/nx-X11/programs/Xserver/xkb/xkbUtils.c
+++ b/nx-X11/programs/Xserver/xkb/xkbUtils.c
@@ -676,7 +676,11 @@ unsigned act;
}
else {
#ifdef NXAGENT_SERVER
- /* we have seen division by zero here */
+ /*
+ * we have seen division by zero here - see
+ * https://github.com/ArcticaProject/nx-libs/issues/808 for
+ * details and xorg upstream bug report
+ */
if (ctrls->num_groups != 0)
#endif
group%= ctrls->num_groups;