| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Backported from X.org:
commit fc7fb5bbe1c8f787e53500b9a2ca4af815f310d1
Author: Giuseppe Bilotta giuseppe.bilotta@gmail.com
Date: Thu Nov 9 10:21:21 2017 +0100
randr: free crtc->outputs on destroy
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Fixes ArcticaProject/nx-libs#558
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Backported from X.org:
commit 16381d186e7c791031392ed8afcfd33009854e9e
Author: Giuseppe Bilotta giuseppe.bilotta@gmail.com
Date: Thu Nov 9 10:21:20 2017 +0100
randr: always realloc crtcs and outputs
When the last crtc (resp. output) is destroyed, the rrScrPriv crtcs
(resp. outputs) fields do not get cleared, which can lead to a situation
where the private's numCrtcs (resp. numOutputs) field is zero, but the
associated memory is still allocated. Just checking if numCrtcs (resp.
numOutputs) is zero is thus not a good criteria to determine whetehr to
use a realloc or a malloc.
Since crtcs (resp. outputs) are NULL-initialized anyway, relying on
numCrtcs (resp. numOutputs) is actually unnecessary, because
reallocation of a NULL ptr is equivalent to a malloc anyway.
Therefore, just use realloc() unconditionally, and ensure that the
fields are properly initialized.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Fixes ArcticaProject/nx-libs#558
|
|\
| |
| |
| | |
Attributes GH PR #578: https://github.com/ArcticaProject/nx-libs/pull/578
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Attributes GH PR #562: https://github.com/ArcticaProject/nx-libs/pull/562
Fixes: ArcticaProject/nx-libs#546
Fixes: ArcticaProject/nx-libs#547
|
| | |
|
| |
| |
| |
| | |
Fixes ArcticaProject/nx-libs#547.
|
|/
|
|
|
|
| |
nxagent to BINDIR.
Fixes ArcticaProject/nx-libs#546.
|
|\
| |
| |
| | |
Attributes GH PR #579: https://github.com/ArcticaProject/nx-libs/pull/579
|
| | |
|
| |
| |
| |
| | |
Some functions' return values are never used anywhere, so drop them.
|
|/
|
|
|
|
|
| |
This corrects a flaw that stayed undetected for 2.5 years, introduced via
c5a2cf82f6baf7a9e64ec2328a5bac0dfee453ef
Fixes ArcticaProject/nx-libs#573
|
|\
| |
| |
| | |
Attributes GH PR #556: https://github.com/ArcticaProject/nx-libs/pull/556
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds a new option called "keyconv" to control keycode conversion.
Before commit 2f2ade61a8823bad012737b2b388dcc168cccbbf keycode
conversion was activated if the client was Linux and client side rules
and/or model was "evdev". The only (and undocumented) way to disable
that was providing a value different from "linux" for the "client"
option (which had no other effect). The mentioned commit removed the
dependency on Linux and so there was no way anymore to disable keycode
conversion.
|
|/ |
|
| |
|
| |
|
|\
| |
| |
| | |
Attributes GH PR #563: https://github.com/ArcticaProject/nx-libs/pull/563
|
|/
|
|
|
|
|
| |
Was missed in
GH PR #544: https://github.com/ArcticaProject/nx-libs/pull/544
Fixes: ArcticaProject/nx-libs#536
|
|\
| |
| |
| | |
Attributes GH PR #555: https://github.com/ArcticaProject/nx-libs/pull/555
|
| |
| |
| |
| |
| |
| | |
nxagentGetClientsPath() allocated and returned a string that was never
used anywhere because it also fills the global variable with the same
value.
|
|/
|
|
| |
free() can handle NULL so there's no need to check this ourselves
|
|\
| |
| |
| | |
Attributes GH PR #554: https://github.com/ArcticaProject/nx-libs/pull/554
|
| | |
|
| | |
|
|/
|
|
|
|
| |
Commit 3f7b3001988bf921e6cd860f03a6256b1451ee3d was incomplete: the
options parameter was not parsed as a string on reconnect. It was
always assumed to be a filename.
|
|\
| |
| |
| | |
Attributes GH PR #532: https://github.com/ArcticaProject/nx-libs/pull/532
|
| | |
|
| |
| |
| |
| |
| | |
This change make the code more similar to upstream Xorg which helps
when merging in changes from later Xorg releases.
|
| |
| |
| |
| |
| |
| |
| | |
This has also been done in Xorg 7.1
This also fixes a little flaw for the swapped case: a check for
glXRenderLarge was missing.
|
|/ |
|
|\
| |
| |
| | |
Attributes GH PR #552: https://github.com/ArcticaProject/nx-libs/pull/552
|
|/
|
|
|
| |
delete trailing whitespace, break long lines, always emphasize nxagent
and nxproxy, emphassize options identcially everywhere
|
|\
| |
| |
| | |
Attributes GH PR #544: https://github.com/ArcticaProject/nx-libs/pull/544
|
|/
|
|
|
|
|
|
| |
Fixes: ArcticaProject/nx-libs#536
Allowing overrides via NX_TEMP and TEMP breaks system using
pam_tmpdir.so and most server infrastructure expects the location to be
fixed anyway.
|
|\
| |
| |
| | |
Attributes GH PR #543: https://github.com/ArcticaProject/nx-libs/pull/543
|
|/
|
|
| |
when fetching X cookie.
|
|
|
|
|
| |
Works around libtool bug related to using both -nostdlib and -pthread
(with the former dropping latter usage.)
|
| |
|
|
|
|
| |
unterminated #ifdef (#ifdef TIME).
|
|\
| |
| |
| | |
Attibutes GH PR #302: https://github.com/ArcticaProject/nx-libs/pull/302
|
| | |
|
| | |
|
| | |
|
| | |
|
|\|
| |
| |
| | |
Attributes GH PR #193: https://github.com/ArcticaProject/nx-libs/pull/193
|
| |
| |
| |
| | |
Needs more sophisticated features to actually test stuff correctly.
|