-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
Changing a window title quickly with ewmh enabled makes xmonad unresponsive #227
Comments
It occurs in |
I have also long noticed that xmonad and taffybar are together rather absurdly sluggish and CPU-hungry. Today was a warm summer day where I wanted to work with my laptop on my lap and so after three years of tolerating this situation I decided I would finally investigate. As pointed out above, the EWMH log hook is extremely naive. Every time This is just silly. I'm no X11 expert but I suspect just adding a bit of caching to verify that something has actually changed before sending the property updates would alleviate a significant fraction of this busywork. Determining why we are doing this several times per second would also be interesting. However, the caching is the easier place to start. |
The |
Pathological or not, I have been observing this behavior in my environment for years. It's not clear what causes the events, but I see no reason why the window manager should wake-up clients claiming properties have changed if there has been no change in value. |
This reverts commit 1586800. no longer needed since xmonad/xmonad-contrib#227 seems to be fixed fixes obsproject/obs-studio#2237 for me
Problem Description
When i use an app that can change window titles quickly (say,
paludis
ortkabber
), xmonad doesn't respond for a while after such events, burning cpu cycles.Configuration File
I use
urxvt
andfor nvm in $(seq 0 1000); do echo -e '\e]2;test\a'; done
to reproduce it. On my config (https://github.com/l29ah/xmonad-config) this makes xmonad unresponsive for the next 30 seconds or so, with the minimal test config the time is about 5s (yet if i drop ewmh from mine it doesn't slow xmonad at all).Checklist
I've read CONTRIBUTING.md
I tested my configuration with xmonad-testing
The text was updated successfully, but these errors were encountered: