| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 < 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 < MAXCLIENTS; result = 1, i++)
^~~~~~
Pixmap.c:807:8: note: shadowed declaration is here
Bool result = 1;
^~~~~~
|
|
|
|
|
|
|
|
|
|
|
| |
Display.c: In function ‘nxagentInitAndCheckVisuals’:
Display.c:2273:10: warning: declaration of ‘matched’ shadows a previous local [-Wshadow=compatible-local]
bool matched = false;
^~~~~~~
Display.c:2258:8: note: shadowed declaration is here
bool matched;
^~~~~~~
Display.c:2258:8: warning: unused variable ‘matched’ [-Wunused-variable]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Events.c: In function ‘nxagentDispatchEvents’:
Events.c:1241:21: warning: declaration of ‘pScreen’ shadows a previous local [-Wshadow=compatible-local]
ScreenPtr pScreen = nxagentScreen(X.xbutton.window);
^~~~~~~
Events.c:827:13: note: shadowed declaration is here
ScreenPtr pScreen = NULL;
^~~~~~~
Events.c:1383:19: warning: declaration of ‘pScreen’ shadows a previous local [-Wshadow=compatible-local]
ScreenPtr pScreen = nxagentScreen(X.xmotion.window);
^~~~~~~
Events.c:827:13: note: shadowed declaration is here
ScreenPtr pScreen = NULL;
^~~~~~~
Events.c: In function ‘nxagentDispatchEvents’:
Events.c:1383:19: warning: declaration of ‘pScreen’ shadows a previous local [-Wshadow=compatible-local]
ScreenPtr pScreen = nxagentScreen(X.xmotion.window);
^~~~~~~
Events.c:827:13: note: shadowed declaration is here
ScreenPtr pScreen = NULL;
^~~~~~~
|
|
|
|
|
|
|
|
|
|
|
|
| |
this was harmless but not nice nevertheless.
Clipboard.c: In function ‘nxagentConvertSelection’:
Clipboard.c:1850:9: warning: declaration of ‘i’ shadows a previous local [-Wshadow=compatible-local]
int i = nxagentFindCurrentSelectionIndex(selection);
^
Clipboard.c:1736:7: note: shadowed declaration is here
int i = nxagentFindCurrentSelectionIndex(selection);
^
|
|
|
|
|
|
|
| |
Revert a wrong change that misteriously slipped in via the comment
reformatting commit 0133d4619.
Fixes ArcticaProject/nx-libs#893
|
|
|
|
|
|
|
|
|
| |
Using XlibAtom here is wrong. On a 64bit system the size of this type
is 8 bytes (64bit). At this stage we do not read Xlib datatypes but
wire datatypes. Over the wire an Atom is always 32bit, so we need to
use CARD32 here.
Fixes ArcticaProject/nx-libs#894
|
|
|
|
|
|
|
| |
Regression fix for 427b7b9777727df4115e3e9e6e63d5176fb0b495. As suggested
by Ulrich Sibiller.
Fixes ArcticaProject/nx-libs#891.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
nxagentBitmapBitOrder never existed and should really be
BitmapBitOrder. It was accidently replaced in
523009b96bd2e479c9823267bc060f8e5b0516e8
|
| |
|
| |
|
| |
|
|
|
|
| |
used the wrong macro for length determination
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
nxagentPrintError is derived from XlibInt.c:_XprintDefaultError. Let's
add missing code and mark NX changes.
|
| |
|
|
|
|
|
|
| |
reqeuestingClient was dropped with the XPRINT drop. Unfortunetely we
are usign it in Image.c. So let's introduce nxagentRequestingClient as
replacement for now.
|
|
|
|
|
|
|
|
|
|
| |
Backport from xorg-xserver:
commit 641ce9c706ce3cbf726fb3fc9623161bb96ba127
Author: George Sapountzis <gsap7@yahoo.gr>
Date: Thu Jan 3 17:28:04 2008 +0200
drop xprint remnants: xpstubs
|
| |
|
| |
|
| |
|
|
|
|
| |
Needs to be an XlibAtom!
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Extend nxagentHandleClientMessageEvent: better debug messages,
suppress warning "Invalid window in ClientMessage" for legal case.
I came across this while testing some clipboard stuff.
|
|
|
|
| |
had been forgotten in 7a2836f8db9941aaefd88b595f43589ff513b53e
|
| |
|
|
|
|
| |
minimize differences to dix/dispatch.c
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Unfortunately we cannot rename NX_CUT_BUFFER_SERVER, too, without
breaking compatibility because this one is used to signal nomachine's
nxclient after the splash screen is gone (see Splash.c, Window.c and
ArticaProject/nx-libs#838)
|
|
|
|
|
|
| |
the MakeAtom call previously used is as good as using a variable but
with the variable it is a) easier to read/understand and b) consistent
with the other client* variables.
|
| |
|
| |
|
| |
|