Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Keystroke.c: fix typo | Ulrich Sibiller | 2020-05-07 | 1 | -1/+1 | |
| | | | | make compilation work with -DNX_DEBUG_INPUT | |||||
* | WaitFor.c Implement the intended NX_WAKEUP functionality | Ulrich Sibiller | 2020-05-07 | 1 | -2/+2 | |
| | | | | NX_WAKEUP had been non-effective and its effect had been tied to NX_TRANS_WAKEUP. | |||||
* | hw/nxagent/Imakefile: explain more macros | Ulrich Sibiller | 2020-05-07 | 1 | -10/+14 | |
| | | | | and remove obsolete NX_SPLASH | |||||
* | Dialog.c: show configured keystrokes in dialogs | Ulrich Sibiller | 2020-05-07 | 4 | -33/+144 | |
| | | | | | | | | Instead of hardcoding the keystrokes in Dialog.h determine the currently configured keystrokes for the action and insert them into the dialog strings. Fixes ArcticaProject/nx-libs#438 | |||||
* | nxagent: make all traps Booleans | Ulrich Sibiller | 2020-05-07 | 14 | -102/+100 | |
| | | | | and use True/False instead of 1/0 | |||||
* | Literals.h: always include in compilation | Ulrich Sibiller | 2020-05-07 | 4 | -7/+2 | |
| | | | | | | This change ensures Literals.h is always referenced during compilation, effectively hiding it from "unused file" detection we do occasionally to clean up the source code. | |||||
* | Init.c Use dpmsstubs.c instead of an own copy | Ulrich Sibiller | 2020-05-07 | 1 | -25/+0 | |
| | | | | | | | | | | | | | | | | | Derived from commit 978f3b496b9951ee8120a0efcc5cd12503e26770 Author: Roland Mainz <roland.mainz@nrubsig.org> Date: Sat Mar 5 21:38:29 2005 +0000 xc/programs/Xserver/Imakefile xc/programs/Xserver/hw/xnest/Imakefile //bugs.freedesktop.org/show_bug.cgi?id=2653) attachment #2020 (https://bugs.freedesktop.org/attachment.cgi?id=2020): Cleanup Xnest usage of the DPMS dummy stub functions from dpmsstubs.c instead of using it's own copy of these functions. Fixes ArcticaProject/nx-libs#901 | |||||
* | Drop unused screensaver xpm | Ulrich Sibiller | 2020-05-07 | 1 | -711/+0 | |
| | | | | See ArcticaProject/nx-libs#263 for discussion | |||||
* | Splash.c: reduce number of X calls for logo painting | Ulrich Sibiller | 2020-05-07 | 1 | -117/+20 | |
| | | | | Instead of 17 XFillPolygon() calls we now use 5. | |||||
* | Splash.c: reduce number of Xlib calls | Ulrich Sibiller | 2020-05-07 | 1 | -10/+24 | |
| | ||||||
* | Splash.c: always paint background over the whole window | Ulrich Sibiller | 2020-05-07 | 1 | -3/+3 | |
| | | | | Was wrong when scale was different from 1 | |||||
* | Splash.c: move the GC to nxagentPaintLogo | Ulrich Sibiller | 2020-05-07 | 1 | -5/+7 | |
| | | | | It is not needed elsewhere. | |||||
* | Splash.h: split out xdmcp parts into separate header file | Ulrich Sibiller | 2020-05-07 | 4 | -12/+43 | |
| | ||||||
* | Splash.c: make variables static | Ulrich Sibiller | 2020-05-07 | 1 | -3/+3 | |
| | | | | They are not used from the outside. | |||||
* | Splash.c: use uppercase color defines | Ulrich Sibiller | 2020-05-07 | 1 | -10/+10 | |
| | ||||||
* | Splash.c: some reformatting | Ulrich Sibiller | 2020-05-07 | 1 | -13/+9 | |
| | ||||||
* | Splash.c: use more Xlib types | Ulrich Sibiller | 2020-05-07 | 3 | -15/+12 | |
| | ||||||
* | Splash.c: add nxagentHaveSplashWindow helper | Ulrich Sibiller | 2020-05-07 | 4 | -2/+8 | |
| | ||||||
* | Splash.c: center logo | Ulrich Sibiller | 2020-05-07 | 1 | -78/+104 | |
| | | | | | | was offset to the right and downwards before Fixes ArcticaProject/nx-libs#892 | |||||
* | Splash.c: fix syntax error in TEST mode | Ulrich Sibiller | 2020-05-07 | 1 | -1/+1 | |
| | ||||||
* | Render.c: describe function purpose | Ulrich Sibiller | 2020-05-07 | 1 | -0/+1 | |
| | | | | (from nxagent changelog) | |||||
* | Render.c: replace two while loops by shorter for loops | Ulrich Sibiller | 2020-05-07 | 1 | -9/+3 | |
| | ||||||
* | Rootless.c: undo overzealous scope improvement | Ulrich Sibiller | 2020-05-07 | 1 | -3/+3 | |
| | | | | It is better to create the values array once and not on every iteration.. | |||||
* | nxagent: simplify nxagentFreeRegion macro | Ulrich Sibiller | 2020-05-07 | 5 | -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 nxagentSynchronizeDrawableData | Ulrich Sibiller | 2020-05-07 | 1 | -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 nxagentSynchronizeDrawableData | Ulrich Sibiller | 2020-05-07 | 1 | -78/+52 | |
| | | | | | move common code into helper function that also takes care of the ugly alloc/free stuff. | |||||
* | Screen.c: formatting fixes | Ulrich Sibiller | 2020-05-07 | 1 | -7/+8 | |
| | ||||||
* | nxagent: Free atom map on termination | Ulrich Sibiller | 2020-05-07 | 3 | -2/+17 | |
| | ||||||
* | Atoms.c: refine comment on NX_CUT_BUFFER_SERVER | Ulrich Sibiller | 2020-05-07 | 1 | -3/+2 | |
| | ||||||
* | Atoms.c: scope improvements | Ulrich Sibiller | 2020-05-07 | 1 | -4/+3 | |
| | ||||||
* | Atoms.c: remove unused return value of nxagentInitAtomsMap | Ulrich Sibiller | 2020-05-07 | 1 | -4/+4 | |
| | ||||||
* | Atoms.h: reformat comments | Ulrich Sibiller | 2020-05-07 | 1 | -7/+4 | |
| | ||||||
* | Atoms.c: always duplicate strings before storing them in privAtomMap | Ulrich Sibiller | 2020-05-07 | 1 | -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 cleanup | Ulrich Sibiller | 2020-05-07 | 1 | -55/+71 | |
| | | | | add else clauses, improve debugging, add comments | |||||
* | Atoms.c: add missing free | Ulrich Sibiller | 2020-05-07 | 1 | -0/+2 | |
| | | | | not a real memleak since it is followed by a FatalError... | |||||
* | Atoms.c: remove one obsolete FIXME | Ulrich Sibiller | 2020-05-07 | 1 | -4/+3 | |
| | | | | The FIXME just described what the following function actually implements... | |||||
* | Screen.c: spelling fix | Ulrich Sibiller | 2020-05-07 | 1 | -1/+1 | |
| | ||||||
* | Events.c: simplify nxagentInternalWindowsTree | Ulrich Sibiller | 2020-05-07 | 1 | -6/+2 | |
| | ||||||
* | Events.c: Whitespace fix | Ulrich Sibiller | 2020-05-07 | 1 | -1/+1 | |
| | ||||||
* | Screen.c: activate fallback to dix blanking | Ulrich Sibiller | 2020-04-07 | 1 | -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. | |||||
* | Screen.c: document nxagentSaveScreen | Ulrich Sibiller | 2020-04-07 | 1 | -22/+37 | |
| | ||||||
* | nxagent: remove now-obsolete own copies of ScreenSaver procs | Ulrich Sibiller | 2020-04-07 | 2 | -272/+0 | |
| | | | | | we moved the auto-disconnect feature to an own timer so there's no need for a special treatment in screen saver stuff anymore. | |||||
* | nxagent: re-implement timeout handling | Ulrich Sibiller | 2020-04-07 | 7 | -88/+114 | |
| | | | | | | Option -timeout used the screensaver facility. This patch changes that to an own timer that is independent. This effectly means we can drop most of the derived screensaving stuff in a follow-up commit. | |||||
* | release 3.5.99.233.5.99.23 | Mike Gabriel | 2020-01-30 | 1 | -1/+1 | |
| | ||||||
* | nxagent: rename variables that shadow globals | Ulrich Sibiller | 2020-01-25 | 8 | -61/+61 | |
| | ||||||
* | Events.c: fix capslock weirdness (re-add lost code) | Ulrich Sibiller | 2020-01-25 | 1 | -0/+1 | |
| | | | | | | This was removed by mistake in 39866f5c133230e5731156c2356c8571c971534c. Fixes ArcticaProject/nx-libs#904 | |||||
* | compext/Clean.c: fix shadow warnings / scope | Ulrich Sibiller | 2020-01-10 | 1 | -20/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | Clean.c: In function ‘CleanZImage’: Clean.c:141:23: warning: declaration of ‘j’ shadows a previous local [-Wshadow=local] register int i, j; ^ Clean.c:88:16: note: shadowed declaration is here unsigned int j; ^ Clean.c: In function ‘CopyAndCleanImage’: Clean.c:239:22: warning: declaration of ‘i’ shadows a previous local [-Wshadow=compatible-local] register int i; ^ Clean.c:192:16: note: shadowed declaration is here register int i; ^ Clean.c:324:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow=compatible-local] int i; ^ Clean.c:192:16: note: shadowed declaration is here register int i; ^ | |||||
* | Drawable.c: fix logic broken by scope cleanup | Ulrich Sibiller | 2020-01-10 | 1 | -5/+3 | |
| | | | | | | | | | | | | xp must be declared outside the while loop! xp was reset in each interation despite being increased at the iteration's end! To protect against this happening again replace the while loop by a for loop that references xp. Bug introduced by d94f472744355c71987d145727aecace1e8455b6 | |||||
* | Cursor.c: drop unused return code for nxagentDisconnectAllCursor | Ulrich Sibiller | 2020-01-09 | 3 | -4/+4 | |
| | ||||||
* | Pixmap.c: drop unused return code for nxagentDisconnectAllPixmaps | Ulrich Sibiller | 2020-01-09 | 2 | -12/+7 | |
| |