aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11')
-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;