Previously, lxqt-config-input would crash when setxkbmap reported at least one but fewer variants than layouts. Adjust the existing size check to prevent that from happening.
You can reproduce the current behavior by setting some layouts like so:
setxkbmap de,us nodeadkeys
Starting lxqt-config-input will now result in a crash.
If however you set the layouts like this, it will start just fine (note the comma):
setxkbmap de,us nodeadkeys,
In both cases, you can verify that setxkbmap will report the variants as entered:
setxkbmap -query -verbose 5
While I am not sure how I personally ended up with this configuration, I assume I am not the last person to potentially run into this issue.
Previously, lxqt-config-input would crash when setxkbmap reported at least one but fewer variants than layouts. Adjust the existing size check to prevent that from happening.
You can reproduce the current behavior by setting some layouts like so:
Starting lxqt-config-input will now result in a crash. If however you set the layouts like this, it will start just fine (note the comma):
In both cases, you can verify that setxkbmap will report the variants as entered:
While I am not sure how I personally ended up with this configuration, I assume I am not the last person to potentially run into this issue.