| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
no more hardcoded string length
|
| |
|
| |
|
|
|
|
| |
slight optimization
|
|
|
|
|
| |
This resulted in a garbled option string on reconnect where everything
after the first '=' was lost!
|
| |
|
|
|
|
| |
This makes them much more readable
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This should disable clipboard but effictively did activate clipboard=both.
|
|
|
|
|
|
| |
Right at the beginnigng of nxagentParseSingleOption we check for
"clipboard" and prepare argv and argc accordingly for
ddxProcessArgument. The removed code thus could never be reached.
|
|
|
|
|
|
|
| |
"clipboard=something" does not need to be passed on, so return after
setting nxagentOptions accordingly. This fixes
[nx-X11/programs/Xserver/hw/nxagent/Args.c:1584]: (error) Uninitialized variable: argc
|
|
|
|
|
|
|
|
| |
Using arguments that need a parameter without providing one would lead
a segfault due to calling strcmp() will NULL. Triggered by running
"nxagent -ac :1 -options nx/nx,fullscreen" or similar,
Fixes ArcticaProject/nx-libs#847
|
| |
|
| |
|
| |
|
|
|
|
| |
Did we ever provide a binary?
|
|
|
|
|
|
|
| |
also add TEST prints, init nxagentProgName with NULL and add const
where it was missing.
Fixes ArcticaProject/nx-libs#803
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 16cd2bbe1c4425e3fa557f9ca0723aa94a50b071.
It turned out that I had missed some of the Booleans being actually
tristate variables. I think I can fix this (they do not need to be
tristate) but I revert this for now to get back to a working state
(there are reports about non-working fullscreen mode and reconnect
problems).
Refers to ArcticaProject/nx-libs#772
|
|
|
|
| |
drop "== False", "== 0", "== True" and "== 0" for nxagentOptions and Traps
|
| |
|
|
|
|
| |
NXAGENTWINDOWNAMELENGTH to its result.
|
|
|
|
|
|
| |
Same as in nxcomp's option handling. We really only need it for ","
(%2C) and "=" (%3D), currently, but it can handle all encoded
characters.
|
|
|
|
| |
new name is more descriptive
|
|
|
|
|
| |
make them appear in the nx section. Also separate the nx section from the
other options by an extra emtpy line.
|
|
|
|
| |
only effect on session startups.
|
| |
|
|
|
|
| |
'nxagentProgName' instead and pass it around where needed.
|
| |
|
|
|
|
| |
Fixes ArcticaProject/nx-libs#639
|
|
|
|
| |
Fixes ArcticaProject/nx-libs#653.
|
|
|
|
| |
Fixes ArcticaProject/nx-libs#657.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
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 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.
|
|
|
|
| |
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().
|
|
|
|
| |
This fixes ArcticaProject/nx-libs#465
|
| |
|