Paste P620

Masterwork From Distant Lands
ActivePublic

Authored by davidedmundson on Jul 21 2020, 1:39 PM.
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.