<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c, branch 3.5.99.25</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://openid.arctica-project.org/nx-libs/atom?h=3.5.99.25</id>
<link rel='self' href='https://openid.arctica-project.org/nx-libs/atom?h=3.5.99.25'/>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/'/>
<updated>2020-10-17T20:38:05+00:00</updated>
<entry>
<title>nxagent: Prevent resize loop</title>
<updated>2020-10-17T20:38:05+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-05-19T18:59:02+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=8deda7bd4f1ada976010c2edcd7cab9a4bdf8140'/>
<id>urn:sha1:8deda7bd4f1ada976010c2edcd7cab9a4bdf8140</id>
<content type='text'>
This only happened with certain window managers like mutter.

Fixes ArcticaProject/nx-libs#925
</content>
</entry>
<entry>
<title>Reconnect.c: save some lines</title>
<updated>2020-05-07T12:58:17+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-05-05T23:52:12+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=7de7cb094034c7bb341ea422df19be60f6e81007'/>
<id>urn:sha1:7de7cb094034c7bb341ea422df19be60f6e81007</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reconnect.c: reformat comments</title>
<updated>2020-05-07T12:58:17+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-05-05T23:50:16+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=64c95c0a006e7d32cfd200a93aa5a9697c14649d'/>
<id>urn:sha1:64c95c0a006e7d32cfd200a93aa5a9697c14649d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reconnect.c: reformat saveAgentState()</title>
<updated>2020-05-07T12:58:17+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-05-05T22:03:50+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=310eadb3a5ccd4d78ecc3a87e9c5507f72745ede'/>
<id>urn:sha1:310eadb3a5ccd4d78ecc3a87e9c5507f72745ede</id>
<content type='text'>
</content>
</entry>
<entry>
<title>NXdispatch.c, Reconnect.c: fix format specifiers</title>
<updated>2020-05-07T12:57:15+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-25T22:33:08+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=434d50853d65d79bd10f742e1f4c6fa4e9f0e3c6'/>
<id>urn:sha1:434d50853d65d79bd10f742e1f4c6fa4e9f0e3c6</id>
<content type='text'>
Fix these warnings with NX_DEBUG_INPUT enabled:

NXdispatch.c: In function ‘Dispatch’:
NXdispatch.c:350:74: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘CARD32’ {aka ‘unsigned int’} [-Wformat=]
           fprintf(stderr, "Session: Session started at '%s' timestamp [%lu].\n",
                                                                        ~~^
                                                                        %u
                       GetTimeAsString(), GetTimeInMillis());

Reconnect.c: In function ‘nxagentHandleConnectionStates’:
Reconnect.c:303:74: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘CARD32’ {aka ‘unsigned int’} [-Wformat=]
         fprintf(stderr, "Session: Session suspended at '%s' timestamp [%lu].\n", GetTimeAsString(), GetTimeInMillis());
                                                                        ~~^                          ~~~~~~~~~~~~~~~~~
                                                                        %u
Reconnect.c: In function ‘nxagentReconnectSession’:
Reconnect.c:673:66: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘CARD32’ {aka ‘unsigned int’} [-Wformat=]
   fprintf(stderr, "Session: Session resumed at '%s' timestamp [%lu].\n", GetTimeAsString(), GetTimeInMillis());
                                                                ~~^                          ~~~~~~~~~~~~~~~~~
                                                                %u
</content>
</entry>
<entry>
<title>nxagent: make all traps Booleans</title>
<updated>2020-05-07T12:57:15+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-18T14:24:20+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=b7169bdcaf320e219dec23e79882176bc4b69d4c'/>
<id>urn:sha1:b7169bdcaf320e219dec23e79882176bc4b69d4c</id>
<content type='text'>
and use True/False instead of 1/0
</content>
</entry>
<entry>
<title>nxagent: re-implement timeout handling</title>
<updated>2020-04-07T11:53:01+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-16T21:50:18+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=46ec003667487d244828babe43884555fbe7322b'/>
<id>urn:sha1:46ec003667487d244828babe43884555fbe7322b</id>
<content type='text'>
Option -timeout used the screensaver facility. This patch changes that
to an own timer that is independent. This effectly means we can drop
most of the derived screensaving stuff in a follow-up commit.
</content>
</entry>
<entry>
<title>Cursor.c: drop unused return code for nxagentDisconnectAllCursor</title>
<updated>2020-01-09T21:07:42+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-09T20:57:43+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=32b64d7d78a7986d3887c6892dd36be205897d80'/>
<id>urn:sha1:32b64d7d78a7986d3887c6892dd36be205897d80</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pixmap.c: fix variable shadowing</title>
<updated>2020-01-09T20:51:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-09T20:44:30+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=7977b9f8f1c6b0ab9a37ce33fc53b8ef36400262'/>
<id>urn:sha1:7977b9f8f1c6b0ab9a37ce33fc53b8ef36400262</id>
<content type='text'>
Pixmap.c: In function ‘nxagentDisconnectAllPixmaps’:
Pixmap.c:677:19: warning: declaration of ‘r’ shadows a previous local [-Wshadow=compatible-local]
   for (int i = 0, r = 1; i &lt; MAXCLIENTS; r = 1, i++)
                   ^
Pixmap.c:652:7: note: shadowed declaration is here
   int r = 1;
       ^
Pixmap.c: In function ‘nxagentReconnectAllPixmaps’:
Pixmap.c:840:19: warning: declaration of ‘result’ shadows a previous local [-Wshadow=compatible-local]
   for (int i = 0, result = 1; i &lt; MAXCLIENTS; result = 1, i++)
                   ^~~~~~
Pixmap.c:807:8: note: shadowed declaration is here
   Bool result = 1;
        ^~~~~~
</content>
</entry>
<entry>
<title>Reconnect.c: fix typos</title>
<updated>2020-01-05T23:50:30+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-02T22:55:37+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=8928048117b48f0397d939efecdefe96f247271a'/>
<id>urn:sha1:8928048117b48f0397d939efecdefe96f247271a</id>
<content type='text'>
</content>
</entry>
</feed>
