| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
Avoid implicit-declaration compiler warning.
Amends the following compiler warning:
```
Screen.c:3716:5: warning: implicit declaration of function ‘nxagentAdjustRandRXinerama’ [-Wimplicit-function-declaration]
nxagentAdjustRandRXinerama(pScreen);
^
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use MIN(A,B) macro as defined in Utils.h. Add MAX(A,B) macro in Utils.h,
as well. Don't have another set of MIN/MAX macro definitions in
Screen.c.
Amends the following compiler warnings:
```
Screen.c:3600:0: warning: "MIN" redefined
#define MIN(a,b) ((a) < (b)) ? (a) : (b);
^
In file included from Screen.c:78:0:
Utils.h:36:0: note: this is the location of the previous definition
#define MIN(A, B) ( (A) < (B) ? (A) : (B) )
^
```
|
|
|
|
|
|
|
|
|
|
|
|
| |
use it.
Amends the following compiler warning:
```
Window.c:2179:24: warning: variable ‘changes’ set but not used [-Wunused-but-set-variable]
XWindowChanges changes;
^
```
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mode.
Amends the following compiler warning:
```
Pixmap.c: In function ‘nxagentDisconnectPixmap’:
Pixmap.c:755:9: warning: variable ‘pBool’ set but not used [-Wunused-but-set-variable]
Bool *pBool;
^
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Amends the following the compiler warnings:
```
Extensions.c: In function ‘nxagentRandRInitSizes’:
Extensions.c:159:16: warning: unused variable ‘pRandRScrPriv’ [-Wunused-variable]
rrScrPrivPtr pRandRScrPriv = rrGetScrPriv(pScreen);
^
Extensions.c: In function ‘nxagentRandRSetConfig’:
Extensions.c:263:16: warning: unused variable ‘pRandRScrPriv’ [-Wunused-variable]
rrScrPrivPtr pRandRScrPriv;
^
Extensions.c: In function ‘nxagentRandRScreenSetSize’:
Extensions.c:322:16: warning: unused variable ‘pRandRScrPriv’ [-Wunused-variable]
rrScrPrivPtr pRandRScrPriv;
^
```
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
handing it over to %lu in fprintf().
Amends the following compiler warnings:
```
Rootless.c: In function ‘nxagentExportProperty’:
Rootless.c:775:21: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘Atom’ [-Wformat=]
"Property [%lu] too long.\n", propertyX);
^
```
|
|
|
|
|
|
|
|
|
|
|
| |
Amends the following compiler warning:
```
Splash.c: In function ‘nxagentPaintLogo’:
Splash.c:168:13: warning: unused variable ‘m’ [-Wunused-variable]
XPoint m[12];
^
```
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with -DDEBUG.
Amends the following compiler warning:
```
Clipboard.c: In function ‘nxagentRequestSelection’:
Clipboard.c:272:7: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
int result;
^
```
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes the region code changes source compatible with existing
code, although none of them are used within the server source itself.
In NX, this patch is not really necessary, but it has been backported
with the previous patches for the sake of backporting the complete
mi/miregion.c -> dix/region.c change in X.Org.
v1: Keith Packard <keithp@keithp.com>
v2: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> (backported to nx-libs)
|
|
|
|
|
|
|
|
|
|
| |
This prepares the file to be moved from mi to dix. This patch
was done mechanically with the included scripts 'fix-miregion' run over
the entire X server and 'fix-miregion-private' run over
include/regionstr.h and mi/miregion.c.
v1: Keith Packard <keithp@keithp.com>
v2: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> (backported to nx-libs)
|
|
|
|
|
| |
v1: Keith Packard <keithp@keithp.com>
v2: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> (backported to nx-libs)
|
| |
|
|
|
|
|
|
|
|
|
| |
This makes all of the previous macros into inline functions and also
turns all of the direct calls to pixman region code into inline
functions as well.
v1: Keith Packard <keithp@keithp.com>
v2: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a huge mechanical patch and a few small fixups required to finish
the job. They were reviewed separately, but because the server does not
build without both pieces, I've merged them together at this time.
The mechanical changes were performed by running the included
'fix-region' script over the whole nx-X11/programs/Xserver tree:
$ cd nx-X11/programs/Xserver && ( git ls-files | grep -v '^fix-' | xargs ./fix-region; )
And then, the white space errors in the resulting patch were fixed
using the provided fix-patch-whitespace script.
$ sh ./fix-patch-whitespace
Thanks to Jamey Sharp for the mighty fine sed-generating sed script.
v1: Keith Packard <keithp@keithp.com> (X.Org xserver commit: 2dc138922b7588515d5f2447e4b9dcdc0bef15e0)
v2: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> (apply fix-region script to nx-libs)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Amends the following compiler warnings:
```
NXwindow.c: In function ‘nxagentClearSplash’:
NXwindow.c:342:12: warning: variable ‘h’ set but not used [-Wunused-but-set-variable]
int w, h;
^
NXwindow.c:342:9: warning: variable ‘w’ set but not used [-Wunused-but-set-variable]
int w, h;
^
```
|
|
|
|
|
| |
The var is not defined anymore and the libXinerama code has been removed
some time ago.
|
|
|
|
| |
shared library.
|
| |
|
|
|
|
|
|
|
| |
comment). (Fixes ArcticaProject/nx-libs#38).
commit 0d56c45 was:
nx-X11: handle source pictures (those without a Drawable surface) gracefully.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the problem Mike Gabriel describes like this:
- Launch a session on a system with a single monitor. Enable Xinerama
for this session.
- Open a desktop session in that session window (e.g. MATE or XFCE).
- Move the NX/MATE-or-XFCE session window around on that one
monitor. Bump at the borders, so that the session window moves into
the invisible parts around your monitor.
What you see is that the MATE-or-XFCE window manager will become
really busy with resizing the windows and panels in the NX session,
because moving the window over the physical borders of the display
will trigger resize events.
This is non-intuitive, I think.
Same with multi-monitors on the outside edges of the physical Xorg
RandR setup.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By design, when resuming a session, Xinerama can only be re-enabled
by NX option parsing.
Thus, this change introduces a "xinerama" NX option that can
be loaded via an options file into NX agent when resuming
a session. The new xinerame NX session option also allows
switching on Xinerama at session startup via an option file.
When implementing the new NX Xinerama support into clients (like
TheQVD, X2Go Client, etc., this new xinerama NX option should be
used for activating Xinerama in the NX / QVD / X2Go session.
|
|
|
|
| |
with "-geometry fullscreen".
|
| |
|
|
|
|
| |
unclosed comment.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
ArcticaProject/nx-libs#23).
No more xinerama faking, just use existing xrandr extension and initalize
it properly. Xinerama then works automatically.
Fixes ArcticaProject/nx-libs#23
|
|
|
|
|
|
|
|
|
|
| |
libXinerama shared library. (Fixes ArcticaProject/nx-libs#49).
This commit goes along with a patch from Ulrich Sibiller who managed to
move the Xinerama awareness for NX sessions into the Xserver code. This
makes Xinerama support for NX in libNX_Xinerama.so obsolete.
Fixes ArcticaProject/nx-libs#49
|
|
|
|
| |
shared library. (Fixes ArcticaProject/nx-libs#32).
|
|
|
|
| |
nx-x11proto-{randr,damage} header files and use those at compile time.
|
|
|
|
| |
between X11 and nx-X11 namespace regarding header include paths.
|
| |
|
|
|
|
| |
make undoing the FIXME more obvious.
|
|
|
|
| |
that includes headers from our Xlib version. This avoids FTBFS caused by type redefinitions and should really be a temporary measure.
|
| |
|
|
|
|
| |
shared library.
|
|
|
|
| |
libXcomposite shared library.
|
|
|
|
| |
Xlib versions that still expect the pointer type to exist (e.g. Ubuntu <= 14.04, Debian <= 7.0).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the process of building nxagent against more and more system-wide installed
X.org libraries, we come to the limit of including structs from this (bundled
nx-X11) and that (system-wide X.Org) library.
This commit introduces a clear namespace separation of headers provided by
nx-X11 and headers provided by X.Org. This approach is only temporary as we
want to drop all nx-X11 bundled libraries from nx-libs.
However, for a while we need to make this separation clear and also ship
some reduced fake X.Org headers that avoid pulling in libX* and libNX_X*
symbols at the same time.
This patch has been tested on Debian jessie and unstable and requires no
overall testing on various distros and distro versions, as we finally will
drop all libNX_X* libraries and build against X.org's client libs.
For now, this hack eases our development / cleanup process.
|
|
|
|
|
|
|
|
|
|
|
| |
Flagged by cppcheck 1.62:
[dix/dixfonts.c:1792]: (error) Common realloc mistake:
'font_path_string' nulled but not freed upon failure
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
Rebased against NX: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
|
|
|
|
|
|
|
|
|
|
| |
This lets us stop using the 'pointer' typedef in Xdefs.h as 'pointer'
is used throughout the X server for other things, and having duplicate
names generates compiler warnings.
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Rebased against NX: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
|
|
|
|
| |
Fixes ArcticaProject/nx-libs#63
|
|
|
|
| |
nxagent DDX.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
xorg-server does not follow the convention of using 2 dashes.
Note that --help does produce the help output. However, it
produces this additional output after it:
Error: Aborting session with 'Unrecognized option: --help'.
Session: Aborting session at 'Sun Jun 28 01:35:35 2015'.
Session: Session aborted at 'Sun Jun 28 01:35:35 2015'.
It also causes a return code of 1 rather than 0.
Therefore, we should instruct users to call -help instead.
|