Fixed splits staying paused after unfocusing Chatterino in certain configurations (#5504)
This commit is contained in:
@@ -1599,6 +1599,13 @@ void Split::setInputReply(const MessagePtr &reply)
|
||||
this->input_->setReply(reply);
|
||||
}
|
||||
|
||||
void Split::unpause()
|
||||
{
|
||||
this->view_->unpause(PauseReason::KeyboardModifier);
|
||||
this->view_->unpause(PauseReason::DoubleClick);
|
||||
// Mouse intentionally left out, we may still have the mouse over the split
|
||||
}
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
QDebug operator<<(QDebug dbg, const chatterino::Split &split)
|
||||
|
||||
@@ -77,6 +77,9 @@ public:
|
||||
|
||||
void setInputReply(const MessagePtr &reply);
|
||||
|
||||
// This is called on window focus lost
|
||||
void unpause();
|
||||
|
||||
static pajlada::Signals::Signal<Qt::KeyboardModifiers>
|
||||
modifierStatusChanged;
|
||||
static Qt::KeyboardModifiers modifierStatus;
|
||||
|
||||
Reference in New Issue
Block a user