Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPC: Saving modifications in wayfire.ini causes watch_events() to stop working #2493

Open
killown opened this issue Oct 11, 2024 · 0 comments
Labels

Comments

@killown
Copy link
Contributor

killown commented Oct 11, 2024

Modifying && Saving wayfire.ini is causing watch_events() to stop receiving IPC events. It’s possible that wayfire is unnecessarily reloading IPC plugins when changes are made to the configuration, which could be disrupting the event flow.

def watch_events():
    sock.watch()
    while True:
        msg = sock.read_message()
        print(msg)

Expected behavior: watch_events() should continue reading and printing messages after changes are made to wayfire.ini.

Current behavior: After modifying and saving wayfire.ini, the function stops reading messages.

@killown killown added the bug label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant