{"action":"created","issue":{"url":"https://api.github.com/repos/sdhand/x11fs/issues/9","repository_url":"https://api.github.com/repos/sdhand/x11fs","labels_url":"https://api.github.com/repos/sdhand/x11fs/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/sdhand/x11fs/issues/9/comments","events_url":"https://api.github.com/repos/sdhand/x11fs/issues/9/events","html_url":"https://github.com/sdhand/x11fs/issues/9","id":142246084,"number":9,"title":"effects don't seem to take place until an event triggers","user":{"login":"HalosGhost","id":49465,"avatar_url":"https://avatars.githubusercontent.com/u/49465?v=3","gravatar_id":"","url":"https://api.github.com/users/HalosGhost","html_url":"https://github.com/HalosGhost","followers_url":"https://api.github.com/users/HalosGhost/followers","following_url":"https://api.github.com/users/HalosGhost/following{/other_user}","gists_url":"https://api.github.com/users/HalosGhost/gists{/gist_id}","starred_url":"https://api.github.com/users/HalosGhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HalosGhost/subscriptions","organizations_url":"https://api.github.com/users/HalosGhost/orgs","repos_url":"https://api.github.com/users/HalosGhost/repos","events_url":"https://api.github.com/users/HalosGhost/events{/privacy}","received_events_url":"https://api.github.com/users/HalosGhost/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-21T03:44:28Z","updated_at":"2016-03-21T21:25:38Z","closed_at":null,"body":"To clarify what I mean,\r\n\r\nWhen I ``cat $X11FS/event`` to watch events stream in, if I try to interrupt the stream by passing ``SIGINT`` through ``^C``, the stream does not stop until another event happens.\r\n\r\nSimilarly, when I increase the border-width of a window (this is under ``dwm``), the width effect does not take place until the window actually goes out of sight (e.g., by switching views or removing the window from the current tags) and is brought back.\r\n\r\nIdeally, all effects should be immediate."},"comment":{"url":"https://api.github.com/repos/sdhand/x11fs/issues/comments/199492991","html_url":"https://github.com/sdhand/x11fs/issues/9#issuecomment-199492991","issue_url":"https://api.github.com/repos/sdhand/x11fs/issues/9","id":199492991,"user":{"login":"sdhand","id":16842652,"avatar_url":"https://avatars.githubusercontent.com/u/16842652?v=3","gravatar_id":"","url":"https://api.github.com/users/sdhand","html_url":"https://github.com/sdhand","followers_url":"https://api.github.com/users/sdhand/followers","following_url":"https://api.github.com/users/sdhand/following{/other_user}","gists_url":"https://api.github.com/users/sdhand/gists{/gist_id}","starred_url":"https://api.github.com/users/sdhand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdhand/subscriptions","organizations_url":"https://api.github.com/users/sdhand/orgs","repos_url":"https://api.github.com/users/sdhand/repos","events_url":"https://api.github.com/users/sdhand/events{/privacy}","received_events_url":"https://api.github.com/users/sdhand/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T21:25:38Z","updated_at":"2016-03-21T21:25:38Z","body":"I am aware of the issue with catting $X11FS/event, and am not sure I can fix it. When cat calls `read` it blocks in `get_events()` (which in calls `xcb_wait_for_event()` which blocks.) While cat is blocked on this read call it will not respond to `SIGINIT`, and I don't see much of a way round this. The window border problem sounds like dwm may be in some way conflicting with x11fs setting the border width. (If I understand the problem correctly, when you echo a number into` $X11FS/<winid>/border/width` the width doesn't change). Whilst I am planning to make x11fs work alongside window managers, it currently only works with 100% functionality when running standalone. Unfortunately making it work with every window manager will be nigh on impossible, due to the mess of standards that X window managers follow/don't follow. My current plan is to make a version of x11fs (or add a command line flag), to allow it to communicate with window managers following the ewmh standard. However there will still be incompatibilities with window managers such as DWM which don't implement ewmh."}}