This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient. commit 2d88750b529e0ce42688486e0827555fcd09ce1a Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> Date: Fri Jan 23 12:44:50 2015 +0100 Send empty message in x2gohelper to stop AppStarting cursor. (Fixes: #525). --- debian/changelog | 1 + x2gohelper/x2gohelper.cpp | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 13cc773..2c2c53b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ x2goclient (4.0.3.2-0x2go1) UNRELEASED; urgency=medium * New upstream release (4.0.3.2): - Reformat onmainwindow.cpp - Fix placement of session folders in session card column. (Fixes: #681). + - Send empty message in x2gohelper to stop AppStarting cursor. (Fixes: #525). [ Mike Gabriel ] * New upstream release (4.0.3.2): diff --git a/x2gohelper/x2gohelper.cpp b/x2gohelper/x2gohelper.cpp index 49749be..e3b1daa 100644 --- a/x2gohelper/x2gohelper.cpp +++ b/x2gohelper/x2gohelper.cpp @@ -16,7 +16,6 @@ ***************************************************************************/ #include <windows.h> #include <TlHelp32.h> - void killProcess(DWORD pid) { HANDLE handle=OpenProcess(PROCESS_TERMINATE,0,pid); @@ -81,11 +80,18 @@ int main(int argc, char* argv[]) //error open process return -1; } + + //Process empty message to stop AppStarting cursor + MSG message; + PostMessage(NULL, WM_NULL, 0, 0); + GetMessage(&message, NULL, 0, 0); + //waiting for process to finish if(WaitForSingleObject(handle,INFINITE)!=WAIT_FAILED) { enumerateFromParent(pid); } CloseHandle(handle); + return 0; } -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git