aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent
Commit message (Collapse)AuthorAgeFilesLines
* Clipboard.c: some scope optimizationsUlrich Sibiller2018-10-271-11/+6
|
* Clipboard.c: add macro for safe XFree calls with ptr clearanceUlrich Sibiller2018-10-272-37/+18
|
* Clipboard.c: introduce helper macros for easier debuggingUlrich Sibiller2018-10-271-48/+59
|
* NXproperty.c:add debug outputUlrich Sibiller2018-10-271-1/+24
|
* Clipboard.c: add function for debugging outputUlrich Sibiller2018-10-271-2/+114
|
* Clipboard: print requested target in debugging modeUlrich Sibiller2018-10-271-7/+31
|
* Events.c: improve Bool usageUlrich Sibiller2018-10-221-5/+4
|
* Window.c: remove useless codeUlrich Sibiller2018-10-221-4/+0
|
* Window.c: improve Bool usageUlrich Sibiller2018-10-221-5/+5
|
* nxagentInitAndCheckVisuals: adapt bool usage to match the previous functionUlrich Sibiller2018-10-221-9/+7
| | | | One question remains: why are we using "bool" instead of "Bool" here?
* Render.c: improve Bool usageUlrich Sibiller2018-10-221-6/+6
|
* Pixmap.c: use some Bools as Bools not integersUlrich Sibiller2018-10-221-8/+8
|
* nxagent: use nxagentWMPassed as Bool all over the placeUlrich Sibiller2018-10-222-2/+2
| | | | has been used as integer sometimes (technically correct, but not nice)
* nxagent: use nxagentWMIsRunning as Bool all over the placeUlrich Sibiller2018-10-225-13/+13
| | | | | | has been used as integer sometimes (technically correct, but not nice) Fixes ArcticaProject/nx-libs#698
* X2Go Agent XPM: Rename from x2go.xpm to x2goagent.xpm (like the symlink name ↵Mike Gabriel2018-08-242-1/+1
| | | | we expect).
* X2Go XPM icon: white background, not transparent.Mike Gabriel2018-08-241-124/+126
|
* Use basename() to derive nxagentProgName cleanly.Mike Gabriel2018-08-242-3/+6
|
* Call checkX2goAgent much earlier (in ddxProcessArgument) and adapt ↵Mike Gabriel2018-08-243-7/+16
| | | | NXAGENTWINDOWNAMELENGTH to its result.
* Application icon: Drop NoMachine logo as nxagent icon, switch to X11 icon ↵Mike Gabriel2018-08-242-49/+400
| | | | for now.
* nxmissing.xpm: Add XPM marker so that image viewers recognize the image file ↵Mike Gabriel2018-08-241-0/+1
| | | | format.
* Args.c: allow options to contain URL encoded charactersUlrich Sibiller2018-08-242-0/+40
| | | | | | Same as in nxcomp's option handling. We really only need it for "," (%2C) and "=" (%3D), currently, but it can handle all encoded characters.
* Args.c: rename nxagentParseOptions to nxagentParseSingleOptionUlrich Sibiller2018-08-241-14/+14
| | | | new name is more descriptive
* Replace MIN/MAX macros by min/max from misc.hUlrich Sibiller2018-08-235-20/+14
| | | | We do not need two versions in the code
* Fix broken 9a7c0b081fad98bfcfcceff9557781f4b39ec572Ulrich Sibiller2018-08-221-13/+20
| | | | | | | | | Windowsize was wrong when run with nxagent :<someDisplay>. Basically three changes: - reference sizeHints and wmHints correctly (no &) - do not use uninitialized wmHints - set wmHints Xutf8SetWMProperties() call instead of separate call
* Events.c: drop variable that caused compilation warningUlrich Sibiller2018-08-221-8/+2
| | | | | | | Fixes this message when compiling with TEST: Events.c:2725:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] message_data = validateString(NameForAtom(x.u.clientMessage.u.l.longs0));
* Events.c: fix wrong printf format specifiersUlrich Sibiller2018-08-221-4/+4
|
* Events.c: fix compiler warningsUlrich Sibiller2018-08-221-3/+3
| | | | format ‘%p’ expects argument of type ‘void *’
* Events.c: mitigate compiler warningUlrich Sibiller2018-08-221-1/+1
| | | | "ISO C forbids assignment between function pointer and 'void *' [-pedantic]"
* refactor nxagentGet(Default)EventMaskUlrich Sibiller2018-08-224-41/+19
| | | | Fixes ArcticaProject/nx-libs#691.
* nxagent: Used 'Xutf8SetVMPropertis' instead of 'XSetStandardProperties' + ↵Pavel Vaynerman2018-08-221-13/+6
| | | | 'Xutf8SetWMProperties'
* fix window title encoding (use utf8) for nxagentPavel Vaynerman2018-08-221-2/+8
|
* misc: fix more regressions and whitespace weirdness introduced in ↵Mihai Moldovan2018-07-073-4/+15
| | | | 913fcf1a74426725f14380dd5b34286a21c37ab7.
* Fix some memory leaks.Mario Trangoni2018-07-033-7/+13
|
* Xserver/xkb: Remove -xkbmap argument.Daniel Stone2018-07-031-11/+0
| | | | | | | | | | | | Backported from X.org: commit fd8bde8bb0f9d796b3464973b53285c0a6d22a31 Author: Daniel Stone <daniel@fooishbar.org> Date: Mon May 29 11:14:03 2006 +0000 Remove -xkbmap argument. Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* hw/nxagent/Keyboard.c: Drop support for loading XKB config from file.Mike Gabriel2018-07-031-97/+7
| | | | | | * Support for XkbCF has been dropped in XKB extension by X.org * Has never been used in recent NXv3 implementations (e.g. X2Go) * Config file parsing is error prone, use setxkbmap API instead
* Atoms.c: more debugging outputUlrich Sibiller2018-07-031-0/+29
|
* NXdixfonts.c: free() can handle NULLUlrich Sibiller2018-07-031-13/+10
| | | | so let's remove some superflous tests
* NXdixfonts.c: use calloc for LFclosurePtrUlrich Sibiller2018-07-031-1/+1
| | | | Just to be sure. It is used at lots of locations afterwards.
* Fix some valgrind findingsUlrich Sibiller2018-07-031-5/+3
| | | | | | Some of them have not been seen in the wild yet. Partly fixes ArcticaProject/nx-libs#711
* Some small Keyboard.c improvementsUlrich Sibiller2018-07-031-4/+4
| | | | as in xorg-xserver upstream's hw/xnest/Keyboard.c
* Clipboard.c: add missing includeUlrich Sibiller2018-06-051-0/+1
| | | | Fixes ArcticaProject/nx-libs#701
* Update Xinerama on XMapEventUlrich Sibiller2018-05-241-0/+12
| | | | Fixes ArcticaProject/nx-libs#694
* whitespace fixesUlrich Sibiller2018-05-243-4/+4
|
* Screen.c: simplify setting of window name/classUlrich Sibiller2018-05-241-16/+11
|
* Events.c: catch intermediate window position changesUlrich Sibiller2018-05-241-5/+35
| | | | | | | | | | | | | nxagentHandleConfigureNotify() has an optimization that accumulates ConfigureNotify events from the queue to only perform the changes of the last ConfigureNotify event in the queue. But that code used to ignore position changes and only adapt the new window position if the last event happened to contain a position change. This change ensures the latest position change - if any - found in the queue will be applied after the accumulation. Fixes: ArticaProject/nx-libs#688 (second part)
* nxagent: remove mmwidth/mmheight from nxagentChangeScreenConfigUlrich Sibiller2018-05-245-12/+11
| | | | Was 0,0 on every call...
* Screen.c/Events.c: fix some commentsUlrich Sibiller2018-05-243-5/+3
|
* nxagent: use XAllocSizeHints() instead of XSizeHints structUlrich Sibiller2018-05-243-97/+130
| | | | | | This is the preferred way. It ensures, that a) the data is zeroed b) a correct size in case xlib is changing the size of the structure in future releases
* Screen.c/Events.c: add some FIXMEsUlrich Sibiller2018-05-242-0/+4
|
* Screen.c: replace XSetWMNormalHints code block by already existing functionUlrich Sibiller2018-05-243-38/+7
| | | | nxagentSetWMNormalHints was slightly adapted therefore