Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Display.c: fix shadowed/unused variable | Ulrich Sibiller | 2020-01-09 | 1 | -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 variables | Ulrich Sibiller | 2020-01-09 | 1 | -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 variable | Ulrich Sibiller | 2020-01-09 | 1 | -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); ^ | ||||
* | Drawable.c: fix segfault | Ulrich Sibiller | 2020-01-09 | 1 | -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 used | Ulrich Sibiller | 2020-01-08 | 1 | -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 Gabriel | 2020-01-06 | 1 | -10/+3 |
| | | | | | | | Regression fix for 427b7b9777727df4115e3e9e6e63d5176fb0b495. As suggested by Ulrich Sibiller. Fixes ArcticaProject/nx-libs#891. | ||||
* | Atoms.c: describe atoms usage | Ulrich Sibiller | 2020-01-06 | 1 | -0/+2 |
| | |||||
* | Atoms.c: describe atoms usage | Ulrich Sibiller | 2020-01-06 | 1 | -11/+44 |
| | |||||
* | Display.c: Fix broken code in TEST case | Ulrich Sibiller | 2020-01-06 | 1 | -2/+1 |
| | |||||
* | Image.c: undo wrong string replacement nxagentBitmapBitOrder | Ulrich Sibiller | 2020-01-06 | 1 | -1/+1 |
| | | | | | | nxagentBitmapBitOrder never existed and should really be BitmapBitOrder. It was accidently replaced in 523009b96bd2e479c9823267bc060f8e5b0516e8 | ||||
* | Display.c: add a describing comment for nxagentDisplayErrorPredicate | Ulrich Sibiller | 2020-01-06 | 1 | -0/+14 |
| | |||||
* | Screen.c: harmonize size/wmhints code | Ulrich Sibiller | 2020-01-06 | 1 | -21/+11 |
| | |||||
* | Events.c: pass a Boolean to nxagentSwitchFullscreen | Ulrich Sibiller | 2020-01-06 | 1 | -1/+1 |
| | |||||
* | Keystroke.c: fix formatting of keystrokes | Ulrich Sibiller | 2020-01-06 | 1 | -1/+1 |
| | | | | used the wrong macro for length determination | ||||
* | Init.h: Fix superfluous space | Ulrich Sibiller | 2020-01-06 | 1 | -1/+1 |
| | |||||
* | Display.c: reformat some comments | Ulrich Sibiller | 2020-01-06 | 1 | -39/+43 |
| | |||||
* | Display.c: scope improvements | Ulrich Sibiller | 2020-01-06 | 1 | -33/+23 |
| | |||||
* | Reconnect.c: fix typos | Ulrich Sibiller | 2020-01-06 | 1 | -1/+1 |
| | |||||
* | Keyboard.c: improve keyboard output | Ulrich Sibiller | 2020-01-06 | 1 | -1/+1 |
| | |||||
* | Error.c: mark NX changes | Ulrich Sibiller | 2020-01-06 | 1 | -19/+24 |
| | | | | | nxagentPrintError is derived from XlibInt.c:_XprintDefaultError. Let's add missing code and mark NX changes. | ||||
* | Keyboard.c: fix typo | Ulrich Sibiller | 2020-01-06 | 1 | -1/+1 |
| | |||||
* | nxagent: remove another xprint renmant | Ulrich Sibiller | 2020-01-06 | 2 | -3/+14 |
| | | | | | | 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: xpstubs | Ulrich Sibiller | 2020-01-06 | 2 | -6/+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 defines | Ulrich Sibiller | 2020-01-06 | 4 | -82/+0 |
| | |||||
* | Image.c: code simplification/scope | Ulrich Sibiller | 2020-01-06 | 1 | -4/+2 |
| | |||||
* | Screen.c: code simplification/scope | Ulrich Sibiller | 2020-01-06 | 1 | -266/+185 |
| | |||||
* | Screen.c: fix handling of NX_SHADOW atom | Ulrich Sibiller | 2020-01-06 | 1 | -10/+3 |
| | | | | Needs to be an XlibAtom! | ||||
* | Screen.c: drop variable | Ulrich Sibiller | 2020-01-06 | 1 | -7/+3 |
| | |||||
* | Window.c: code simplifications/scope | Ulrich Sibiller | 2020-01-06 | 1 | -11/+5 |
| | |||||
* | Window.c: fix comment | Ulrich Sibiller | 2020-01-06 | 1 | -2/+2 |
| | |||||
* | Rootless.c: fix wording | Ulrich Sibiller | 2020-01-06 | 1 | -1/+1 |
| | |||||
* | NXproperty.c: simplify ChangeWindowProperty | Ulrich Sibiller | 2020-01-06 | 1 | -109/+4 |
| | |||||
* | Events.c: improve debugging output | Ulrich Sibiller | 2020-01-06 | 1 | -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. | ||||
* | NXdispatch.c: port forgotten patch | Ulrich Sibiller | 2020-01-06 | 1 | -0/+3 |
| | | | | had been forgotten in 7a2836f8db9941aaefd88b595f43589ff513b53e | ||||
* | NXDispatch.c: mark NX changes | Ulrich Sibiller | 2020-01-06 | 1 | -7/+18 |
| | |||||
* | NXdispatch.c: cleanup ProcCloseFont() | Ulrich Sibiller | 2020-01-06 | 1 | -1/+1 |
| | | | | minimize differences to dix/dispatch.c | ||||
* | NXdispatch.c: add FIXME | Ulrich Sibiller | 2020-01-06 | 1 | -0/+2 |
| | |||||
* | NX{mitrap,picture}.c: mark NX changes | Ulrich Sibiller | 2020-01-06 | 1 | -1/+4 |
| | |||||
* | Pointer.c: code simplification | Ulrich Sibiller | 2020-01-06 | 1 | -1/+1 |
| | |||||
* | Pointer.c: use __func__ in fprintf | Ulrich Sibiller | 2020-01-06 | 1 | -8/+8 |
| | |||||
* | Window.c: print internal window id as well | Ulrich Sibiller | 2020-01-06 | 1 | -2/+2 |
| | |||||
* | Clipboard.c: cleanup parentheses | Ulrich Sibiller | 2020-01-05 | 1 | -15/+17 |
| | |||||
* | Clipboard.c: extend/reformat some comments | Ulrich Sibiller | 2020-01-05 | 1 | -8/+12 |
| | |||||
* | Clipboard.c: rename variables/atoms to better reflect their meaning | Ulrich Sibiller | 2020-01-05 | 6 | -40/+43 |
| | | | | | | | Unfortunately we cannot rename NX_CUT_BUFFER_SERVER, too, without breaking compatibility because this one is used to signal nomachine's nxclient after the splash screen is gone (see Splash.c, Window.c and ArticaProject/nx-libs#838) | ||||
* | Clipboard.c: add clientCLIPBOARD variable | Ulrich Sibiller | 2020-01-05 | 1 | -3/+7 |
| | | | | | | the MakeAtom call previously used is as good as using a variable but with the variable it is a) easier to read/understand and b) consistent with the other client* variables. | ||||
* | Clipboard.c: change order of if clause to better match the comment above it | Ulrich Sibiller | 2020-01-05 | 1 | -6/+8 |
| | |||||
* | Clipboard.c: CLINDEX and GetXErrorString are only used for debugging | Ulrich Sibiller | 2020-01-05 | 1 | -2/+2 |
| | |||||
* | Clipboard.c: flush more often to ensure a smooth clipboard experience | Ulrich Sibiller | 2020-01-05 | 1 | -3/+1 |
| | |||||
* | Clipboard.c: fix handling of clipboard=none/client/server/both option | Ulrich Sibiller | 2020-01-05 | 1 | -3/+4 |
| | |||||
* | Options.h: comment on the four clipboard options | Ulrich Sibiller | 2020-01-05 | 1 | -0/+18 |
| |