This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x-rpm-debug
in repository nx-libs.

commit 4a397d63aa3fb934d93cf5c71ef30bc88d2e94ee
Author: Mihai Moldovan <io...@ionic.de>
Date:   Wed Mar 7 03:18:54 2018 +0100

    Revert accidental changes to saver.c.
---
 nx-X11/programs/Xserver/Xext/saver.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/nx-X11/programs/Xserver/Xext/saver.c 
b/nx-X11/programs/Xserver/Xext/saver.c
index 07d3ce3..0b79a00 100644
--- a/nx-X11/programs/Xserver/Xext/saver.c
+++ b/nx-X11/programs/Xserver/Xext/saver.c
@@ -509,7 +509,6 @@ SendScreenSaverNotify (pScreen, state, forced)
     ScreenSaverEventPtr                pEv;
     unsigned long              mask;
     xScreenSaverNotifyEvent    ev;
-    ClientPtr                  client;
     int                                kind;
 
     UpdateCurrentTimeIf ();
@@ -528,20 +527,16 @@ SendScreenSaverNotify (pScreen, state, forced)
        kind = ScreenSaverInternal;
     for (pEv = pPriv->events; pEv; pEv = pEv->next)
     {
-       client = pEv->client;
-       if (client->clientGone)
-           continue;
        if (!(pEv->mask & mask))
            continue;
        ev.type = ScreenSaverNotify + ScreenSaverEventBase;
        ev.state = state;
-       ev.sequenceNumber = client->sequence;
        ev.timestamp = currentTime.milliseconds;
        ev.root = pScreen->root->drawable.id;
        ev.window = savedScreenInfo[pScreen->myNum].wid;
        ev.kind = kind;
        ev.forced = forced;
-       WriteEventsToClient (client, 1, (xEvent *) &ev);
+       WriteEventsToClient (pEv->client, 1, (xEvent *) &ev);
     }
 }
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/nx-libs.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to