This bug has been reported to the Debian BTS by Sven Arvidsson <sa@whiz.se> 18 months ago and is still valid for Xorg 7.2. When I change the mouse acceleration and speed config with xset and then I run Xnest, the config is reset to default. For instance: $ xset m 5 $ ./xget acceleration: 5/1 threshold: 4 $ Xnest :1 <close the window> $ ./xget acceleration: 2/1 threshold: 4 "xget" is a simple program that Julien Cristau kindly wrote for this purpose. I'll attach its source code below. I guess the problem is caused by xnestPointerProc() in DEVICE_INIT calls InitPointerDeviceStruct which ends up calling xnestChangePointerControl() with default values. Note that Xephyr does not seem to have this problem. Since Xephyr seems to be recommended instead of Xnest, I am not sure this bug with ever be fixed. But at least it will be known. Thanks.
Created attachment 8769 [details] Program that I used to display the mouse acceleration and speed config.
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
still valid for git master
could be worth finally putting xnest to bed -- now that xephyr has xv and dri passthrough, is there really much point to xnest?
Created attachment 29326 [details] [review] 0001-Xnest-set-the-default-pointer-accel-to-the-host-s-va.patch If we put it to rest that's fine but not for 1.7. Too late in the cycle, IMO. Anyway, this patch fixes the issue.
Fix pushed as ae812bb79668e59cda1f851fb1fabe9db9ea705f.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.