Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into chatterino7
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Oct 9, 2024
2 parents 51ed3c1 + f04e7e5 commit 0fd8997
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
- Bugfix: Fixed tooltips and input completion popups not working after moving a split. (#5541, #5576)
- Bugfix: Fixed rare issue on shutdown where the client would hang. (#5557)
- Bugfix: Fixed `/clearmessages` not working with more than one window. (#5489)
- Bugfix: Fixed splits staying paused after unfocusing Chatterino in certain configurations. (#5504)
- Bugfix: Fixed splits staying paused after unfocusing Chatterino in certain configurations. (#5504, #5637)
- Bugfix: Links with invalid characters in the domain are no longer detected. (#5509)
- Bugfix: Fixed janky selection for messages with RTL segments (selection is still wrong, but consistently wrong). (#5525)
- Bugfix: Fixed event emotes not showing up in autocomplete and popups. (#5239, #5580, #5582)
Expand Down
8 changes: 1 addition & 7 deletions src/widgets/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,20 +113,14 @@ bool Window::event(QEvent *event)
}

case QEvent::WindowDeactivate: {
for (const auto &split :
this->notebook_->getSelectedPage()->getSplits())
{
split->unpause();
}

auto *page = this->notebook_->getSelectedPage();

if (page != nullptr)
{
std::vector<Split *> splits = page->getSplits();

for (Split *split : splits)
{
split->unpause();
split->updateLastReadMessage();
}

Expand Down

0 comments on commit 0fd8997

Please sign in to comment.