wayfire icon indicating copy to clipboard operation
wayfire copied to clipboard

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

Open killown opened this issue 1 year ago • 0 comments

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 avatar Oct 11 '24 19:10 killown