aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* XKBsrv.h: remove XKBSRV_NEED_FILE_FUNCS stuffUlrich Sibiller2020-05-076-781/+1
| | | | Follow-up for 2a5364d5f
* XKBsrv.h: remove unused externsUlrich Sibiller2020-05-071-5/+0
|
* Drop unused screensaver xpmUlrich Sibiller2020-05-071-711/+0
| | | | See ArcticaProject/nx-libs#263 for discussion
* Drop unused scrnsaver.hUlrich Sibiller2020-05-076-136/+1
|
* Drop unused XWDFile.hUlrich Sibiller2020-05-076-119/+1
|
* Drop unused rgb.hUlrich Sibiller2020-05-073-55/+0
|
* Drop unused Xalloca.hUlrich Sibiller2020-05-076-145/+0
|
* Splash.c: reduce number of X calls for logo paintingUlrich Sibiller2020-05-071-117/+20
| | | | Instead of 17 XFillPolygon() calls we now use 5.
* Splash.c: reduce number of Xlib callsUlrich Sibiller2020-05-071-10/+24
|
* Splash.c: always paint background over the whole windowUlrich Sibiller2020-05-071-3/+3
| | | | Was wrong when scale was different from 1
* Splash.c: move the GC to nxagentPaintLogoUlrich Sibiller2020-05-071-5/+7
| | | | It is not needed elsewhere.
* Splash.h: split out xdmcp parts into separate header fileUlrich Sibiller2020-05-074-12/+43
|
* Splash.c: make variables staticUlrich Sibiller2020-05-071-3/+3
| | | | They are not used from the outside.
* Splash.c: use uppercase color definesUlrich Sibiller2020-05-071-10/+10
|
* Splash.c: some reformattingUlrich Sibiller2020-05-071-13/+9
|
* Splash.c: use more Xlib typesUlrich Sibiller2020-05-073-15/+12
|
* Splash.c: add nxagentHaveSplashWindow helperUlrich Sibiller2020-05-074-2/+8
|
* Splash.c: center logoUlrich Sibiller2020-05-071-78/+104
| | | | | | was offset to the right and downwards before Fixes ArcticaProject/nx-libs#892
* Splash.c: fix syntax error in TEST modeUlrich Sibiller2020-05-071-1/+1
|
* xkb/xkbUtils.c: add link to bugreportUlrich Sibiller2020-05-071-1/+5
| | | | | | | | The problem we are fixing (or better "working around") here has also been seen in XQuartz, but no-one has found the reason yet. Point to bugreport so that anyone stumbling over this in future can check if there's a better fix and possibly implement that one.
* Xext: rename saver's EventType to SaverEventType.Ulrich Sibiller2020-05-071-5/+5
| | | | | | | | | | | | | | Backport of this xorg-xserver commit: commit cfd3443fe81685e91a53063dee58e24a5684dc29 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Wed Jan 28 13:34:10 2009 +1000 Xext: rename saver's EventType to SaverEventType. Avoid namespace clashing with the internal events. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Xext: Fix cursor reference counting hazard.Ulrich Sibiller2020-05-071-1/+1
| | | | | | | | | | | | | | | | | | | Backport of this xorg-xserver patch: commit 3083c5d0c4386cdd7083b7a83ac72fdad2f1e61e Author: Michel Dänzer <daenzer@vmware.com> Date: Mon Mar 22 18:01:17 2010 +0100 Xext: Fix cursor reference counting hazard. Make sure the reference count of the new cursor is increased before the old one is decreased, otherwise bad things will happen if they're one and the same and the reference count is 1 initially. Not sure this can actually happen here, but better safe than sorry. Signed-off-by: Michel Dänzer <daenzer@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Signed-off-by: Keith Packard <keithp@keithp.com>
* Render.c: describe function purposeUlrich Sibiller2020-05-071-0/+1
| | | | (from nxagent changelog)
* Render.c: replace two while loops by shorter for loopsUlrich Sibiller2020-05-071-9/+3
|
* Rootless.c: undo overzealous scope improvementUlrich Sibiller2020-05-071-3/+3
| | | | It is better to create the values array once and not on every iteration..
* nxagent: simplify nxagentFreeRegion macroUlrich Sibiller2020-05-075-23/+22
| | | | | | Does not require two parameters. It could be replaced by RegionDestroy() entirely but we leave it to have a match to nxagentCreateRegion().
* Drawable.c: get rid of goto code in nxagentSynchronizeDrawableDataUlrich Sibiller2020-05-071-16/+4
| | | | | Now all cleanup code at the end of the function is gone so there's no need for the gotos anymore. Just return directly.
* Drawable.c: refactor nxagentSynchronizeDrawableDataUlrich Sibiller2020-05-071-78/+52
| | | | | move common code into helper function that also takes care of the ugly alloc/free stuff.
* Screen.c: formatting fixesUlrich Sibiller2020-05-071-7/+8
|
* nxagent: Free atom map on terminationUlrich Sibiller2020-05-073-2/+17
|
* Atoms.c: refine comment on NX_CUT_BUFFER_SERVERUlrich Sibiller2020-05-071-3/+2
|
* Atoms.c: scope improvementsUlrich Sibiller2020-05-071-4/+3
|
* Atoms.c: remove unused return value of nxagentInitAtomsMapUlrich Sibiller2020-05-071-4/+4
|
* Atoms.h: reformat commentsUlrich Sibiller2020-05-071-7/+4
|
* Atoms.c: always duplicate strings before storing them in privAtomMapUlrich Sibiller2020-05-071-26/+11
| | | | | Otherwise we will never be able to free the list because we do not know if free() is allowed or not.
* Atoms.c: some code cleanupUlrich Sibiller2020-05-071-55/+71
| | | | add else clauses, improve debugging, add comments
* Atoms.c: add missing freeUlrich Sibiller2020-05-071-0/+2
| | | | not a real memleak since it is followed by a FatalError...
* Atoms.c: remove one obsolete FIXMEUlrich Sibiller2020-05-071-4/+3
| | | | The FIXME just described what the following function actually implements...
* Screen.c: spelling fixUlrich Sibiller2020-05-071-1/+1
|
* Events.c: simplify nxagentInternalWindowsTreeUlrich Sibiller2020-05-071-6/+2
|
* Events.c: Whitespace fixUlrich Sibiller2020-05-071-1/+1
|
* os: remove CYGWIN remnantsUlrich Sibiller2020-05-073-15/+1
|
* Merge branch 'uli42-pr/use_nxdialog' into 3.6.xMike Gabriel2020-05-071-5/+15
|\ | | | | | | Attributes GH PR #922: https://github.com/ArcticaProject/nx-libs/pull/922
| * Use nxdialog as nxclient replacementUlrich Sibiller2020-05-071-5/+15
|/ | | | | | | if neither NX_CLIENT ist provided nor /usr/NX/bin/nxclient is existing try /usr/bin/nxdialog. Currently the path is hardcoded.
* Merge branch 'uli42-pr/drop_nxwin' into 3.6.xMike Gabriel2020-05-075-880/+1
|\ | | | | | | Attributes GH PR #917: https://github.com/ArcticaProject/nx-libs/pull/917
| * remove obsolete pending patchesUlrich Sibiller2020-05-072-157/+0
| | | | | | | | | | The changes are either applied in the current version or the affected file is no longer existing.
| * Drop patch that is for nxwin onlyUlrich Sibiller2020-05-071-566/+0
| |
| * Makefiles: drop support for NXwinUlrich Sibiller2020-05-072-157/+1
|/ | | | | | | | We have never built nxwin within this tree. And we never shipped it. So drop the according logic. We have also removed CYGWIN stuff in the past so nxwin probably would not compile/work anyway...
* Merge branch 'uli42-pr/refactor_timeout' into 3.6.xMike Gabriel2020-05-0710-389/+151
|\ | | | | | | Attributes GH PR #899: https://github.com/ArcticaProject/nx-libs/pull/899
| * Screen.c: activate fallback to dix blankingUlrich Sibiller2020-04-071-2/+2
| | | | | | | | | | | | We have no hardware that could blank the screen for us. So let nxagentSaveScreen return False in some situations to let dix do the default action.