Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clipboard.c: print X errors | Ulrich Sibiller | 2018-10-27 | 1 | -20/+62 |
| | |||||
* | Clipboard.c: some scope optimizations | Ulrich Sibiller | 2018-10-27 | 1 | -11/+6 |
| | |||||
* | Clipboard.c: add macro for safe XFree calls with ptr clearance | Ulrich Sibiller | 2018-10-27 | 2 | -37/+18 |
| | |||||
* | Clipboard.c: introduce helper macros for easier debugging | Ulrich Sibiller | 2018-10-27 | 1 | -48/+59 |
| | |||||
* | NXproperty.c:add debug output | Ulrich Sibiller | 2018-10-27 | 1 | -1/+24 |
| | |||||
* | Clipboard.c: add function for debugging output | Ulrich Sibiller | 2018-10-27 | 1 | -2/+114 |
| | |||||
* | Clipboard: print requested target in debugging mode | Ulrich Sibiller | 2018-10-27 | 1 | -7/+31 |
| | |||||
* | Events.c: improve Bool usage | Ulrich Sibiller | 2018-10-22 | 1 | -5/+4 |
| | |||||
* | Window.c: remove useless code | Ulrich Sibiller | 2018-10-22 | 1 | -4/+0 |
| | |||||
* | Window.c: improve Bool usage | Ulrich Sibiller | 2018-10-22 | 1 | -5/+5 |
| | |||||
* | nxagentInitAndCheckVisuals: adapt bool usage to match the previous function | Ulrich Sibiller | 2018-10-22 | 1 | -9/+7 |
| | | | | One question remains: why are we using "bool" instead of "Bool" here? | ||||
* | Render.c: improve Bool usage | Ulrich Sibiller | 2018-10-22 | 1 | -6/+6 |
| | |||||
* | Pixmap.c: use some Bools as Bools not integers | Ulrich Sibiller | 2018-10-22 | 1 | -8/+8 |
| | |||||
* | nxagent: use nxagentWMPassed as Bool all over the place | Ulrich Sibiller | 2018-10-22 | 2 | -2/+2 |
| | | | | has been used as integer sometimes (technically correct, but not nice) | ||||
* | nxagent: use nxagentWMIsRunning as Bool all over the place | Ulrich Sibiller | 2018-10-22 | 5 | -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 Gabriel | 2018-08-24 | 2 | -1/+1 |
| | | | | we expect). | ||||
* | X2Go XPM icon: white background, not transparent. | Mike Gabriel | 2018-08-24 | 1 | -124/+126 |
| | |||||
* | Use basename() to derive nxagentProgName cleanly. | Mike Gabriel | 2018-08-24 | 2 | -3/+6 |
| | |||||
* | Call checkX2goAgent much earlier (in ddxProcessArgument) and adapt ↵ | Mike Gabriel | 2018-08-24 | 3 | -7/+16 |
| | | | | NXAGENTWINDOWNAMELENGTH to its result. | ||||
* | Application icon: Drop NoMachine logo as nxagent icon, switch to X11 icon ↵ | Mike Gabriel | 2018-08-24 | 2 | -49/+400 |
| | | | | for now. | ||||
* | nxmissing.xpm: Add XPM marker so that image viewers recognize the image file ↵ | Mike Gabriel | 2018-08-24 | 1 | -0/+1 |
| | | | | format. | ||||
* | Args.c: allow options to contain URL encoded characters | Ulrich Sibiller | 2018-08-24 | 2 | -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 nxagentParseSingleOption | Ulrich Sibiller | 2018-08-24 | 1 | -14/+14 |
| | | | | new name is more descriptive | ||||
* | Replace MIN/MAX macros by min/max from misc.h | Ulrich Sibiller | 2018-08-23 | 5 | -20/+14 |
| | | | | We do not need two versions in the code | ||||
* | Fix broken 9a7c0b081fad98bfcfcceff9557781f4b39ec572 | Ulrich Sibiller | 2018-08-22 | 1 | -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 warning | Ulrich Sibiller | 2018-08-22 | 1 | -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 specifiers | Ulrich Sibiller | 2018-08-22 | 1 | -4/+4 |
| | |||||
* | Events.c: fix compiler warnings | Ulrich Sibiller | 2018-08-22 | 1 | -3/+3 |
| | | | | format ‘%p’ expects argument of type ‘void *’ | ||||
* | Events.c: mitigate compiler warning | Ulrich Sibiller | 2018-08-22 | 1 | -1/+1 |
| | | | | "ISO C forbids assignment between function pointer and 'void *' [-pedantic]" | ||||
* | refactor nxagentGet(Default)EventMask | Ulrich Sibiller | 2018-08-22 | 4 | -41/+19 |
| | | | | Fixes ArcticaProject/nx-libs#691. | ||||
* | nxagent: Used 'Xutf8SetVMPropertis' instead of 'XSetStandardProperties' + ↵ | Pavel Vaynerman | 2018-08-22 | 1 | -13/+6 |
| | | | | 'Xutf8SetWMProperties' | ||||
* | fix window title encoding (use utf8) for nxagent | Pavel Vaynerman | 2018-08-22 | 1 | -2/+8 |
| | |||||
* | misc: fix more regressions and whitespace weirdness introduced in ↵ | Mihai Moldovan | 2018-07-07 | 3 | -4/+15 |
| | | | | 913fcf1a74426725f14380dd5b34286a21c37ab7. | ||||
* | Fix some memory leaks. | Mario Trangoni | 2018-07-03 | 3 | -7/+13 |
| | |||||
* | Xserver/xkb: Remove -xkbmap argument. | Daniel Stone | 2018-07-03 | 1 | -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 Gabriel | 2018-07-03 | 1 | -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 output | Ulrich Sibiller | 2018-07-03 | 1 | -0/+29 |
| | |||||
* | NXdixfonts.c: free() can handle NULL | Ulrich Sibiller | 2018-07-03 | 1 | -13/+10 |
| | | | | so let's remove some superflous tests | ||||
* | NXdixfonts.c: use calloc for LFclosurePtr | Ulrich Sibiller | 2018-07-03 | 1 | -1/+1 |
| | | | | Just to be sure. It is used at lots of locations afterwards. | ||||
* | Fix some valgrind findings | Ulrich Sibiller | 2018-07-03 | 1 | -5/+3 |
| | | | | | | Some of them have not been seen in the wild yet. Partly fixes ArcticaProject/nx-libs#711 | ||||
* | Some small Keyboard.c improvements | Ulrich Sibiller | 2018-07-03 | 1 | -4/+4 |
| | | | | as in xorg-xserver upstream's hw/xnest/Keyboard.c | ||||
* | Clipboard.c: add missing include | Ulrich Sibiller | 2018-06-05 | 1 | -0/+1 |
| | | | | Fixes ArcticaProject/nx-libs#701 | ||||
* | Update Xinerama on XMapEvent | Ulrich Sibiller | 2018-05-24 | 1 | -0/+12 |
| | | | | Fixes ArcticaProject/nx-libs#694 | ||||
* | whitespace fixes | Ulrich Sibiller | 2018-05-24 | 3 | -4/+4 |
| | |||||
* | Screen.c: simplify setting of window name/class | Ulrich Sibiller | 2018-05-24 | 1 | -16/+11 |
| | |||||
* | Events.c: catch intermediate window position changes | Ulrich Sibiller | 2018-05-24 | 1 | -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 nxagentChangeScreenConfig | Ulrich Sibiller | 2018-05-24 | 5 | -12/+11 |
| | | | | Was 0,0 on every call... | ||||
* | Screen.c/Events.c: fix some comments | Ulrich Sibiller | 2018-05-24 | 3 | -5/+3 |
| | |||||
* | nxagent: use XAllocSizeHints() instead of XSizeHints struct | Ulrich Sibiller | 2018-05-24 | 3 | -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 FIXMEs | Ulrich Sibiller | 2018-05-24 | 2 | -0/+4 |
| |