Home
Phabricator
Search
Log In
Paste
P620
Masterwork From Distant Lands
Active
Public
Actions
Authored by
davidedmundson
on Jul 21 2020, 1:39 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
commit 969d47e10a75ad7432aa984c4805b6c8bcdc3a3f
Author: David Edmundson <kde@davidedmundson.co.uk>
Date: Tue Jul 21 14:36:16 2020 +0100
bodge fix
diff --git a/activation.cpp b/activation.cpp
index c2218069c..c07026fd6 100644
--- a/activation.cpp
+++ b/activation.cpp
@@ -400,6 +400,10 @@ void Workspace::takeActivity(AbstractClient* c, ActivityFlags flags)
if (!c->isOnActiveScreen())
screens()->setCurrent(c->screen());
+
+ if (c->isDemandingAttention()) {
+ c->setActive(true);
+ }
}
/**
davidedmundson
edited the content of this paste.
(Show Details)
Jul 21 2020, 1:39 PM
davidedmundson
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
Log In to Comment