While working on Coverity id 824 I noticed that the set_lock() function in question is used by "xset k" and "xset -k" which do not appear in the xset man page or usage message. They should be documented (if you can figure out what they do - they appear to enable & disable caps lock, but don't seem to work for me).
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
same here, doesn't seem to toggle caps lock... /shrug
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/app/xset/issues/1.
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.