summaryrefslogtreecommitdiffstats
path: root/src/lib/server/Server.cpp
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2019-07-18 01:31:43 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2019-07-18 01:31:43 -0400
commita916009d4b29995ea8ad61ad47a51c2ee1fa80bc (patch)
treef53f459caa6868bda7c3f6dae0d8f30f19325af3 /src/lib/server/Server.cpp
parent68a36b3b67ec82cdd3f77e88e40d1043cbab5000 (diff)
New upstream version 2.3.0+dfsgupstream/2.3.0+dfsg
Diffstat (limited to 'src/lib/server/Server.cpp')
-rw-r--r--src/lib/server/Server.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/server/Server.cpp b/src/lib/server/Server.cpp
index 32153a6..12aedd0 100644
--- a/src/lib/server/Server.cpp
+++ b/src/lib/server/Server.cpp
@@ -2262,6 +2262,10 @@ Server::forceLeaveClient(BaseClientProxy* client)
m_primaryClient->enter(m_x, m_y, m_seqNum,
m_primaryClient->getToggleMask(), false);
}
+
+ Server::SwitchToScreenInfo* info =
+ Server::SwitchToScreenInfo::alloc(m_active->getName());
+ m_events->addEvent(Event(m_events->forServer().screenSwitched(), this, info));
}
// if this screen had the cursor when the screen saver activated