summaryrefslogtreecommitdiffstats
path: root/twin/manage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/manage.cpp')
-rw-r--r--twin/manage.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/twin/manage.cpp b/twin/manage.cpp
index 2c6777153..acf1ce598 100644
--- a/twin/manage.cpp
+++ b/twin/manage.cpp
@@ -538,6 +538,12 @@ bool Client::manage( Window w, bool isMapped )
workspace()->discardUsedWindowRules( this, false ); // remove ApplyNow rules
updateWindowRules(); // was blocked while !isManaged()
+// Handle suspended processes
+ if (isResumeable())
+ {
+ suspendWindow(); // It won't hurt to stop the process again, and this will update the displayed captions
+ }
+
// TODO there's a small problem here - isManaged() depends on the mapping state,
// but this client is not yet in Workspace's client list at this point, will
// be only done in addClient()