Skip to content

Conversation

@adamanteye
Copy link

Some user finds that toggle command makes screen flashes while enable/disable works perfectly. This is bacause repeat_delay is low and and the binding does not use the --no-repeat flag.

See Arch Linux forum discussion for context:
https://bbs.archlinux.org/viewtopic.php?id=284229

Some user finds that toggle command makes screen flashes while
enable/disable works perfectly. This is bacause repeat_delay
is low and and the binding does not use the --no-repeat flag.

See Arch Linux forum discussion for context:
https://bbs.archlinux.org/viewtopic.php?id=284229
@emersion
Copy link
Member

Arguably this is a Sway bug, and no command should ever block the main loop for a long time.

Ref https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/2239

@adamanteye
Copy link
Author

Yeah I did assume that sway handle all the input events asynchronously before I encountered this rare case. The toggle takes roughly 350ms to complete and that may not be significant for most users.

For now maybe documenting and providing a quick example is much more convenient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants