[X2Go-Commits] [x2gokdriveclient] 01/01: bring rootless window on top if server requesting
git-admin at x2go.org
git-admin at x2go.org
Thu Apr 28 17:59:04 CEST 2022
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gokdriveclient.
commit e69a9c34d34cff1e36b1517c813ef12e2ae019aa
Author: Oleksandr Shneyder <o.shneyder at phoca-gmbh.de>
Date: Thu Apr 28 10:58:53 2022 -0500
bring rootless window on top if server requesting
---
client.cpp | 6 ++++++
debian/changelog | 1 +
2 files changed, 7 insertions(+)
diff --git a/client.cpp b/client.cpp
index 554075a..3ca751e 100644
--- a/client.cpp
+++ b/client.cpp
@@ -1330,6 +1330,12 @@ void Client::getWinUpdateBuffer()
if(win->getNextSibId()!=nextSibId)
{
// set sib and restack windows
+ if(!win->getNextSibId() && nextSibId && winType == WINDOW_TYPE_NORMAL)
+ {
+ win->activateWindow();
+ win->raise();
+ win->showNormal();
+ }
win->setNextSibId(nextSibId);
// KDRStdErr()<<"Check if need to Restack window???";
}
diff --git a/debian/changelog b/debian/changelog
index 798137b..fd5f94d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -48,5 +48,6 @@ x2gokdriveclient (0.0.0.1-0x2go1) UNRELEASED; urgency=medium
- fix server version checking
- reduce window updates when moving windows in rootless mode
- remove resizeWinFromServer code
+ - bring rootless window on top if server requesting
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Tue, 04 Jun 2019 11:10:43 +0200
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdriveclient.git
More information about the x2go-commits
mailing list