-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Description
The Focus Stealing Prevention configuration option describes its key input field using plural form: "Cancel focus stealing prevention on these keys". This suggests that multiple key codes should be supported, but the current implementation only accepts a single key code.
Expected Behavior
Based on the plural description, it should be possible to specify multiple key codes to cancel focus stealing prevention.
Actual Behavior
Only a single key code works. When attempting to specify multiple keys using various delimiter formats, the configuration is not recognized properly.
Steps to Reproduce
- Open Wayfire Configuration Manager
- Navigate to Focus Stealing Prevention settings and activate the plugin
- Attempt to enter multiple key codes in the key field using different delimiters
Attempted Formats
The following delimiter formats were tested without success:
- Space-separated:
KEY_ENTER KEY_SYSRQ - Semicolon-separated:
KEY_ENTER;KEY_SYSRQ - Comma-separated:
KEY_ENTER,KEY_SYSRQ
Working Configuration
Single key codes work as expected, e.g., KEY_SYSRQ
Environment
- WCM Version: 0.9.0 (current Arch Linux package)
- Use Case: Screen capturing tool configured in the command section requiring focus stealing prevention bypass
Suggestion
Extend the existing description text "Cancel focus stealing prevention on these keys" to include the required delimiter format, and implement support for multiple key codes if not yet available.