aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
Commit message (Collapse)AuthorAgeFilesLines
* Display.c: fix shadowed/unused variableUlrich Sibiller2020-01-091-1/+0
| | | | | | | | | | | 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: fix two shadowed variablesUlrich Sibiller2020-01-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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; ^~~~~~~
* Clipboard.c: fix shadowed variableUlrich Sibiller2020-01-091-6/+8
| | | | | | | | | | | | 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); ^
* nxagent: build with -Wshadow to detect shadowing variablesUlrich Sibiller2020-01-093-4/+4
|
* Drawable.c: fix segfaultUlrich Sibiller2020-01-091-1/+1
| | | | | | | Revert a wrong change that misteriously slipped in via the comment reformatting commit 0133d4619. Fixes ArcticaProject/nx-libs#893
* Rootless.c: fix wring datatype being usedUlrich Sibiller2020-01-081-2/+2
| | | | | | | | | 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
* hw/nxagent/Splash.c Fix build on 32bit architecture.Mike Gabriel2020-01-061-10/+3
| | | | | | | Regression fix for 427b7b9777727df4115e3e9e6e63d5176fb0b495. As suggested by Ulrich Sibiller. Fixes ArcticaProject/nx-libs#891.
* Atoms.c: describe atoms usageUlrich Sibiller2020-01-061-0/+2
|
* Atoms.c: describe atoms usageUlrich Sibiller2020-01-061-11/+44
|
* Display.c: Fix broken code in TEST caseUlrich Sibiller2020-01-061-2/+1
|
* Image.c: undo wrong string replacement nxagentBitmapBitOrderUlrich Sibiller2020-01-061-1/+1
| | | | | | nxagentBitmapBitOrder never existed and should really be BitmapBitOrder. It was accidently replaced in 523009b96bd2e479c9823267bc060f8e5b0516e8
* Display.c: add a describing comment for nxagentDisplayErrorPredicateUlrich Sibiller2020-01-061-0/+14
|
* Screen.c: harmonize size/wmhints codeUlrich Sibiller2020-01-061-21/+11
|
* Events.c: pass a Boolean to nxagentSwitchFullscreenUlrich Sibiller2020-01-061-1/+1
|
* Keystroke.c: fix formatting of keystrokesUlrich Sibiller2020-01-061-1/+1
| | | | used the wrong macro for length determination
* Init.h: Fix superfluous spaceUlrich Sibiller2020-01-061-1/+1
|
* Display.c: reformat some commentsUlrich Sibiller2020-01-061-39/+43
|
* Display.c: scope improvementsUlrich Sibiller2020-01-061-33/+23
|
* Reconnect.c: fix typosUlrich Sibiller2020-01-061-1/+1
|
* Keyboard.c: improve keyboard outputUlrich Sibiller2020-01-061-1/+1
|
* Error.c: mark NX changesUlrich Sibiller2020-01-061-19/+24
| | | | | nxagentPrintError is derived from XlibInt.c:_XprintDefaultError. Let's add missing code and mark NX changes.
* Keyboard.c: fix typoUlrich Sibiller2020-01-061-1/+1
|
* Remove the numVideoScreens xprintism.Ulrich Sibiller2020-01-062-4/+1
| | | | | | | | | | | | | | Backport of this xorg-xserver commit: commit a82e6efb7b9b2ab9a1597b002f375c5ee105e7f5 Author: Adam Jackson <ajax@redhat.com> Date: Wed Jul 16 14:19:04 2008 -0400 Remove the numVideoScreens xprintism. This was to account for cases where you had video and print screens in the same server. Lunacy. Leave the slot in ScreenInfo, but rename it, and stop looking at it.
* nxagent: remove another xprint renmantUlrich Sibiller2020-01-067-35/+34
| | | | | | reqeuestingClient was dropped with the XPRINT drop. Unfortunetely we are usign it in Image.c. So let's introduce nxagentRequestingClient as replacement for now.
* drop xprint remnants: xpstubsUlrich Sibiller2020-01-064-63/+0
| | | | | | | | | | 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
* nxagent: drop CYGWIN and WIN32 definesUlrich Sibiller2020-01-064-82/+0
|
* Image.c: code simplification/scopeUlrich Sibiller2020-01-061-4/+2
|
* Screen.c: code simplification/scopeUlrich Sibiller2020-01-061-266/+185
|
* Screen.c: fix handling of NX_SHADOW atomUlrich Sibiller2020-01-061-10/+3
| | | | Needs to be an XlibAtom!
* Screen.c: drop variableUlrich Sibiller2020-01-061-7/+3
|
* Window.c: code simplifications/scopeUlrich Sibiller2020-01-061-11/+5
|
* Window.c: fix commentUlrich Sibiller2020-01-061-2/+2
|
* Rootless.c: fix wordingUlrich Sibiller2020-01-061-1/+1
|
* X.Org bug 4947/Sun bug 6646626: Xv extension not byte-swapping properlyUlrich Sibiller2020-01-061-23/+27
| | | | | | | | | | | | | | | | Fixes ArcticaProject/nx-libs#165 commit dfd682b582636a36345144bcf835e3ee46718d90 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Jan 2 19:27:22 2008 -0800 X.Org bug 4947/Sun bug 6646626: Xv extension not byte-swapping properly X.Org Bugzilla #4947 <https://bugs.freedesktop.org/show_bug.cgi?id=4947> Sun bug 6646626 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6646626> Don't use swapped data after swapping it. When done swapping data, send the swapped data, not the address of the pointer to it, to the client.
* NXproperty.c: simplify ChangeWindowPropertyUlrich Sibiller2020-01-062-110/+11
|
* Events.c: improve debugging outputUlrich Sibiller2020-01-061-7/+25
| | | | | | | Extend nxagentHandleClientMessageEvent: better debug messages, suppress warning "Invalid window in ClientMessage" for legal case. I came across this while testing some clipboard stuff.
* os: unifdef WIN32Ulrich Sibiller2020-01-0610-306/+6
|
* os: unifdef UNIXWAREUlrich Sibiller2020-01-061-1/+1
|
* os: unifdef __SCO__Ulrich Sibiller2020-01-064-62/+6
|
* os: unifdef ISCUlrich Sibiller2020-01-063-34/+5
|
* NXdispatch.c: port forgotten patchUlrich Sibiller2020-01-061-0/+3
| | | | had been forgotten in 7a2836f8db9941aaefd88b595f43589ff513b53e
* NXDispatch.c: mark NX changesUlrich Sibiller2020-01-061-7/+18
|
* NXdispatch.c: cleanup ProcCloseFont()Ulrich Sibiller2020-01-061-1/+1
| | | | minimize differences to dix/dispatch.c
* NXdispatch.c: add FIXMEUlrich Sibiller2020-01-061-0/+2
|
* xkbsrv.h: drop non-existing externsUlrich Sibiller2020-01-061-5/+0
|
* NX{mitrap,picture}.c: mark NX changesUlrich Sibiller2020-01-061-1/+4
|
* Pointer.c: code simplificationUlrich Sibiller2020-01-061-1/+1
|
* Pointer.c: use __func__ in fprintfUlrich Sibiller2020-01-061-8/+8
|
* xkbsrv.h: move extern XkbFreePrivates to central include fileUlrich Sibiller2020-01-062-2/+1
|
* xkbActions.c: fix formattingUlrich Sibiller2020-01-061-1/+1
|