Repository navigation
monitor: set format back after failing DS activation - #14168
Conversation
|
Hello and thank you for making a PR to Hyprland! Please check the PR Guidelines and make sure your PR follows them. If your code can be tested, please always add tests. See more here. beep boop, I'm just a bot. A real human will review your PR soon. |
we do run m_lastScanout.reset(), but m_lastScanout might sometimes not be set. cache format from before attempting DS, and set back to it on activation failure.
ec5e720 to
505aec1
Compare
|
Does it change anything? DS blockers include format checks and if test or commit fails then there is a bug somewhere earlier. And there should a similar format restoration somewhere later. Might be too late or removed by accident. |
|
I'm running the PR as we speak, as mentioned in the OP I wasn't able to find reliable repro for the bug. But it could also be related to Hyprland pretty much dying 50% of the time if you do |
β¦14168)" (hyprwm#14864) This reverts commit 84d45bd.
we do run m_lastScanout.reset(), but m_lastScanout might sometimes not be set. cache format from before attempting DS, and set back to it on activation failure.
Describe your PR, what does it fix/add?
we do run m_lastScanout.reset(), but m_lastScanout might sometimes not be set. cache format from before attempting DS, and set back to it on activation failure.
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
again not exactly sure on whether this fixes, as its hard to find repro for the specific issue of format getting stuck on XBGR8888 after leaving DS. maybe this will help
Is it ready for merging, or does it need work?
sure