Closed luisbc92 closed 3 days ago
I am afraid I am not going to add configuration to workaround bugs in niche window managers, that way lies madness. You are welcome to run kitty from source and patch it as you need for your WM.
Understood, thank you!
I have a question around this feature. I understand that the XDG state changes to TOPLEVEL_STATE_SUSPENDED based on the assumption that the window is on a non-active workspace, and Kitty is disabling rendering accordingly.
However, why is this needed if Wayland correctly stops requesting render frames anyway? Wouldn't that trump the XDG state? Is this mechanism not available on X11?
Case in point, kitty is the only application suffering from this issue.
I'm not criticizing, and do not know enough about XDG, X11, or Wayland to call on the correct solution.
On Fri, Oct 25, 2024 at 08:46:51PM -0700, luisbc92 wrote:
I have a question around this feature. I understand that the XDG state changes to TOPLEVEL_STATE_SUSPENDED based on the assumption that the window is on a non-active workspace, and Kitty is disabling rendering accordingly.
However, why is this needed if Wayland correctly stops requesting render frames anyway? Wouldn't that trump the XDG state? Is this mechanism not available on X11?
You'd have to ask the Wayland developers why its needed. They added it.
Case in point, kitty is the only application suffering from this issue.
Yes kitty is unusually proactive in supporting Wayland. Other applications will get there eventually. PaperWM needs to stop doing the wrong thing and expecting applications to workaround it.
Describe the bug When the extension PaperWM is used in Chrome, each monitor is assigned a separate workspace. Due to this behavior, windows that live on non-focused monitors are suspended, causing Kitty to pause rendering.
While this is not a Kitty bug, it would be possible to workaround this issue by allowing this behavior to be configurable.
Since this issue began with Kitty 0.35.0, I would expect the relevant functionality was introduced with this commit: https://github.com/kovidgoyal/kitty/commit/849dcd424db630dcac345874d2bc3665f04276c1
To Reproduce Steps to reproduce the behavior:
Environment details