Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the numVideoScreens xprintism. | Ulrich Sibiller | 2020-01-06 | 2 | -4/+1 |
| | | | | | | | | | | | | | | Backport of this xorg-xserver commit: commit a82e6efb7b9b2ab9a1597b002f375c5ee105e7f5 Author: Adam Jackson <ajax@redhat.com> Date: Wed Jul 16 14:19:04 2008 -0400 Remove the numVideoScreens xprintism. This was to account for cases where you had video and print screens in the same server. Lunacy. Leave the slot in ScreenInfo, but rename it, and stop looking at it. | ||||
* | nxagent: remove another xprint renmant | Ulrich Sibiller | 2020-01-06 | 7 | -35/+34 |
| | | | | | | 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 | 4 | -63/+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 |
| | |||||
* | X.Org bug 4947/Sun bug 6646626: Xv extension not byte-swapping properly | Ulrich Sibiller | 2020-01-06 | 1 | -23/+27 |
| | | | | | | | | | | | | | | | | Fixes ArcticaProject/nx-libs#165 commit dfd682b582636a36345144bcf835e3ee46718d90 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Jan 2 19:27:22 2008 -0800 X.Org bug 4947/Sun bug 6646626: Xv extension not byte-swapping properly X.Org Bugzilla #4947 <https://bugs.freedesktop.org/show_bug.cgi?id=4947> Sun bug 6646626 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6646626> Don't use swapped data after swapping it. When done swapping data, send the swapped data, not the address of the pointer to it, to the client. | ||||
* | NXproperty.c: simplify ChangeWindowProperty | Ulrich Sibiller | 2020-01-06 | 2 | -110/+11 |
| | |||||
* | 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. | ||||
* | os: unifdef WIN32 | Ulrich Sibiller | 2020-01-06 | 10 | -306/+6 |
| | |||||
* | os: unifdef UNIXWARE | Ulrich Sibiller | 2020-01-06 | 1 | -1/+1 |
| | |||||
* | os: unifdef __SCO__ | Ulrich Sibiller | 2020-01-06 | 4 | -62/+6 |
| | |||||
* | os: unifdef ISC | Ulrich Sibiller | 2020-01-06 | 3 | -34/+5 |
| | |||||
* | 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 |
| | |||||
* | xkbsrv.h: drop non-existing externs | Ulrich Sibiller | 2020-01-06 | 1 | -5/+0 |
| | |||||
* | 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 |
| | |||||
* | xkbsrv.h: move extern XkbFreePrivates to central include file | Ulrich Sibiller | 2020-01-06 | 2 | -2/+1 |
| | |||||
* | xkbActions.c: fix formatting | Ulrich Sibiller | 2020-01-06 | 1 | -1/+1 |
| | |||||
* | Window.c: print internal window id as well | Ulrich Sibiller | 2020-01-06 | 1 | -2/+2 |
| | |||||
* | mi: Avoid stack smash when drawing dashed lines | Ulrich Sibiller | 2020-01-06 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | Backport of this xorg-xserver upstream patch: commit 20c2a3bcb11b5baf564e2c73a477ba23f5ae2b10 Author: Peter Harris <pharris@opentext.com> Date: Mon Jul 15 19:44:29 2013 -0400 mi: Avoid stack smash when drawing dashed lines X.org Bug 54013 <https://bugs.freedesktop.org/show_bug.cgi?id=54013> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Peter Harris <pharris@opentext.com> | ||||
* | 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 |
| | |||||
* | Clipboard.c: Use Find*Index helpers at more locations | Ulrich Sibiller | 2020-01-05 | 1 | -16/+15 |
| | |||||
* | Clipboard.c: cosmetics/typo fix/untabify | Ulrich Sibiller | 2020-01-05 | 2 | -44/+41 |
| | |||||
* | Clipboard.c: introduce helper macro IS_INTERNAL_OWNER | Ulrich Sibiller | 2020-01-05 | 1 | -9/+11 |
| | | | | Using this macro makes the code more readable | ||||
* | Clipboard.c: simplify nxagentSetSelectionOwner | Ulrich Sibiller | 2020-01-05 | 1 | -33/+26 |
| | | | | We do not need to loop over all selections. We have a helper for that. | ||||
* | Clipboard.c: describe nxagentFind*Index | Ulrich Sibiller | 2020-01-05 | 1 | -0/+8 |
| | |||||
* | Clipboard.c: reorder nxagentInitClipboard | Ulrich Sibiller | 2020-01-05 | 1 | -10/+11 |
| | | | | | It makes sense to measure time and set the initialized flag right at the start. | ||||
* | Clipboard.c: clear all selections in nxagentInitClipboard | Ulrich Sibiller | 2020-01-05 | 1 | -2/+4 |
| | | | | | | The new code effectively does the same the old one did. But if we change the number of selections the new code will still work correctly while the old one would not. | ||||
* | Clipboard.c: Fix: re-claim selection on reconnect | Ulrich Sibiller | 2020-01-05 | 1 | -20/+28 |
| | | | | | | | On reconnect claim the selection ownership if one of nxagent's clients is a selection owner. The code for this was already there but could not work because the lastSelectionOwner array was always dropped at the beginning of nxagentInitClipboard. | ||||
* | Clipboard.c: reorder atom allocation code | Ulrich Sibiller | 2020-01-05 | 1 | -10/+10 |
| | | | | | Place the allocation directly before the check for success. Use the same order for server and client atoms. | ||||
* | Clipboard: align reported targets | Ulrich Sibiller | 2020-01-05 | 3 | -13/+26 |
| | | | | | Always report the same list of available targets to internal and external requests. | ||||
* | Clipboard.c: check pointer before usage | Ulrich Sibiller | 2020-01-05 | 1 | -1/+1 |
| | | | | | The code also worked with pWindow being NULL but it did some unnecessary stuff. |