| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
nxagentInitKeyboardState -> nxagentInitXkbKeyboardState
nxagentHandleKeyboardEvent -> nxagentHandleXkbKeyboardStateEvent
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
If xorg upstream xkb gets extended one day the previous code would not
block new xkb calls even if they would change keyboard settings. So
only act on the currently known calls and throw an error for all
unknown calls.
|
| |
|
|
|
|
| |
Fixes ArcticaProject/nx-libs#257
|
|
|
|
| |
This helps understanding the intention of the following code.
|
| |
|
| |
|
| |
|
|
|
|
| |
this ensures that randr updates its private structures
|
|
|
|
|
| |
If -rrxinerama was specified xrandr handling was broken. Adding/using
a custom resolution via xrandr was not working anymore.
|
|
|
|
|
|
| |
nxagent will abort if it encounters an unknown command line option. As
we want 3.6 to be a drop-in replacement for 3.5 we cannot simply drop old
options but must accept them as no-op.
|
|
|
|
| |
It is called only if DEBUG_TREE is defined.
|
|
|
|
| |
Fixes ArcticaProject/nx-libs#585
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
| |
Commit 3f7b3001988bf921e6cd860f03a6256b1451ee3d was incomplete: the
options parameter was not parsed as a string on reconnect. It was
always assumed to be a filename.
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
delete trailing whitespace, break long lines, always emphasize nxagent
and nxproxy, emphassize options identcially everywhere
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from _XPrivDisplay instead of the other Display structure directly.
Fixes: ArcticaProject/nx-libs#512
It's unclear to me why (Display*)(dpy)->bitmap_pad and
(_XPrivDisplay)(dpy)->bitmap_pad produce different results.
Technically, Display is referencing the _XDisplay/Display structure
defined in Xlibint.h, while _XPrivDisplay is a typedef'd pointer to the
(anonymous) structure defined in Xlib.h, since we're not defining the
XLIB_ILLEGAL_ACCESS macro. The weird part is that both should be equal
when it comes to its bitmap_pad, byte_order and bitmap_bit_order
members.
|
| |
|
| |
|
|
|
|
| |
libNX_Xrender's formerly removed XRenderGlyphsCleanup().
|
| |
|
|
|
|
| |
Fixes ArcticaProject/nx-libs#500
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change improves the situation in nxagent for the following
issue:
```
"XRenderCompositeTrapezoids builds RenderTrapezoids requests to composite the
specified list of trapezoids to dst. XRenderCompositeTrapezoids will split
the list of trapezoids to build requests no larger than the maximum request
size supported by the server. This can create rendering artifacts as the
precompositing done by RenderTrapezoids when a maskFormat is specified
cannot span multiple requests."
```
For more information see:
https://lists.freedesktop.org/archives/xorg/2008-June/036124.html
Fixes ArcticaProject/nx-libs#336.
|
|
|
|
|
|
|
|
|
|
| |
This way one can easily pass options to nxagent run as Xnest
replacement without having to create a temporary options file. Please
note that it is not of much use for normal sessions. Options passed
like this cannot be changed after startup so a reconnect may not work
as expected.
Fixes ArcticaProject/nx-libs#476
|
| |
|
|
|
|
| |
Do not use global variables where it is not necessary.
|
|
|
|
| |
Fixes ArcticaProject/nx-libs#486
|
|
|
|
| |
feature can be enabled by the cmdline options -reportwids and -reportprivatewids.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In nxagent sessions, all X11 clients have a representation of their NX
session-side window object on the real X-Server side.
The window object gets stored in the new NX_REAL_WINDOW window property
immediately after window creation. This mapping is created in
nxagentCreateWindow().
On session resumption, the client side window IDs normally change. Thus,
during session resumption, all NX_REAL_WINDOW properties require being
updated. This happens in nxagentReconnectWindow().
While a session is suspended, the NX_REAL_WINDOW property does not
exist. It gets removed during nxagentDisconnectWindow().
|
|
|
|
| |
statically defined in Utils.h. Thus including it for DEBUG builds.
|
|
|
|
| |
This fixes ArcticaProject/nx-libs#465
|