Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | NXglyph.c: mark NX changes | Ulrich Sibiller | 2019-11-02 | 1 | -1/+8 |
| | |||||
* | NXglyph.c: adapt FindGlyph() to better match render/glyph.c | Ulrich Sibiller | 2019-11-02 | 1 | -19/+24 |
| | | | | no function change | ||||
* | NXglyphcurs.c: use dixChangeCG() | Ulrich Sibiller | 2019-11-02 | 1 | -18/+13 |
| | |||||
* | Simplify (NX)xvdisp.c | Ulrich Sibiller | 2019-11-02 | 1 | -141/+6 |
| | | | | | | | | | | NXxvdisp.c only exists to set/unset nxagentXvTrap before/after dispatch. There's no need to duplicate the original code. We now rename the original dispatch functions and call them in our dispatch code. Also drop check for sun and cygwin, as they never appeared in xorg upstream code. | ||||
* | NXdispatch.c: mark NX changes | Ulrich Sibiller | 2019-11-02 | 1 | -17/+47 |
| | |||||
* | NXdispatch.c: simplify InitClientPrivates() | Ulrich Sibiller | 2019-11-02 | 1 | -33/+9 |
| | | | | by calling the upstream function from dix/dispatch.c | ||||
* | NXdispatch.c: call upstream CloseDownClient() | Ulrich Sibiller | 2019-11-02 | 1 | -84/+1 |
| | | | | remove ~80 duplicate lines | ||||
* | NXdispatch.c: Simplify InitSelections() | Ulrich Sibiller | 2019-11-02 | 1 | -6/+2 |
| | | | | by calling upstream version from dispatch.c | ||||
* | nxagent: drop NXextension.c | Ulrich Sibiller | 2019-11-02 | 2 | -28/+0 |
| | | | | | instead of including it and creating NXextension.o we can simply use the dix version. There are no NX specials anymore. | ||||
* | NXextension.c: use ProcListExtensions() from dix | Ulrich Sibiller | 2019-11-02 | 1 | -114/+0 |
| | |||||
* | NXextension.c: use ProcQueryExtension() from dix | Ulrich Sibiller | 2019-11-02 | 1 | -40/+0 |
| | |||||
* | NXshm.c: call upstream miShmPutImage | Ulrich Sibiller | 2019-11-02 | 1 | -37/+1 |
| | | | | instead of having an identical copy in nxagent_miShmPutImage | ||||
* | NXshm.c: use upstream versions of Dispatch functions | Ulrich Sibiller | 2019-11-02 | 1 | -88/+6 |
| | | | | instead of having an own (identical) copy | ||||
* | NXshm.c: rework code to be identical for ProcShmDispatch and SProcShmDispatch | Ulrich Sibiller | 2019-11-02 | 1 | -60/+60 |
| | |||||
* | nxagent: drop Holder.[ch] | Ulrich Sibiller | 2019-11-02 | 8 | -120/+12 |
| | | | | The only left code was nxagentCheckum() which was not compiling anyway. | ||||
* | Drop unused placeholder code | Ulrich Sibiller | 2019-11-02 | 5 | -225/+0 |
| | |||||
* | Drop NXdamage.c | Ulrich Sibiller | 2019-11-01 | 2 | -57/+0 |
| | | | | With the previous commits this file finally becomes obsolete. | ||||
* | damage: Don't rewrite Text ops to GlyphBlt ops | Ulrich Sibiller | 2019-11-01 | 1 | -181/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This backport of a 2013 Xorg fix changes miext/damage.c so that the text functions (damageText, damage{Poly,Image}Text{8,16}) finally are very similar to the changes that NX introduced in 2007 with nxagent-3.0.0-28. Fun fact: the original freedesktop bug mentioned below is from 2005 and the fix came in 2013... Next commit will be the complete drop of NXdamage.c. commit 0f3f8e4295d4c05f33b93e0ffd2f6f8cd5759bf7 Author: Adam Jackson <ajax@redhat.com> Date: Wed Aug 21 11:13:11 2013 -0400 damage: Don't rewrite Text ops to GlyphBlt ops There's no particularly good reason to, and it breaks Xnest. Bugzilla: http://bugs.freedesktop.org/2454 Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com> | ||||
* | NXdamage.x fix wrong backport | Ulrich Sibiller | 2019-11-01 | 1 | -4/+12 |
| | | | | | | | | | f0ba303d48439e0ebb572d56db972995388ac865 errornously added the "else" which had been explicitly removed in NX 3.0.0-28 with this comment: - Changed damage's GCOps functions drawing text. This was needed be- cause the original functions didn't call agent GCOps if the drawable was registered for damage events. | ||||
* | NXevents.c: add some explanations from the original changelog | Ulrich Sibiller | 2019-11-01 | 1 | -0/+32 |
| | |||||
* | NXevents.c: use XYToWindow from dix | Ulrich Sibiller | 2019-11-01 | 1 | -50/+8 |
| | | | | add a callback to determine the starting window. | ||||
* | NXevents.c: call upstream ProcAllocEvents() | Ulrich Sibiller | 2019-11-01 | 1 | -53/+20 |
| | | | | | Our version only adds some commented code, so it is not really necessary. But it is cleaner to handle it that way. | ||||
* | NXEvents.c: mark NX specific code | Ulrich Sibiller | 2019-11-01 | 1 | -1/+4 |
| | |||||
* | NXevents.c: call upstream DefineInitialRootWindow() | Ulrich Sibiller | 2019-11-01 | 1 | -34/+1 |
| | |||||
* | NXevents.c: call upstream version of ProcSendEvent() | Ulrich Sibiller | 2019-11-01 | 1 | -82/+3 |
| | |||||
* | NXevents.c: call upstream versions of (De)ActivatePointerGrab() | Ulrich Sibiller | 2019-11-01 | 1 | -45/+5 |
| | |||||
* | Screen.c: cleanup code a bit | Ulrich Sibiller | 2019-10-10 | 1 | -16/+14 |
| | |||||
* | Screen.c: fix a memleak | Ulrich Sibiller | 2019-10-10 | 1 | -5/+2 |
| | | | | | | | Remove some code that is no longer needed because the code requiring it has been removed some time ago (commit 643e13bf3de6704f634d60342b738e0002f057b9). Fixes a small memleak that turned up after switching to fullscreen once. | ||||
* | Fix segfault in argument parsing | Ulrich Sibiller | 2019-10-03 | 1 | -0/+3 |
| | | | | | | | | Using arguments that need a parameter without providing one would lead a segfault due to calling strcmp() will NULL. Triggered by running "nxagent -ac :1 -options nx/nx,fullscreen" or similar, Fixes ArcticaProject/nx-libs#847 | ||||
* | Clipboard.c: rename nxagentNotifySelection to ↵ | Ulrich Sibiller | 2019-09-29 | 3 | -6/+7 |
| | | | | | | nxagentHandleSelectionNotifyFromXServer Use a more descriptive name. | ||||
* | Clipboard.c: fix nested clipboard handling | Ulrich Sibiller | 2019-09-29 | 1 | -1/+8 |
| | | | | Fixes ArcticaProject/nx-libs#632 | ||||
* | Clipboard.c: add some more FIXMEs | Ulrich Sibiller | 2019-09-29 | 1 | -0/+20 |
| | |||||
* | Clipboard.c: drop old commented code | Ulrich Sibiller | 2019-09-29 | 1 | -16/+0 |
| | |||||
* | Clipboard.c: fix: translate target on transfer | Ulrich Sibiller | 2019-09-29 | 1 | -0/+23 |
| | |||||
* | Clipboard.c: flush the display during transfer phase | Ulrich Sibiller | 2019-09-29 | 1 | -0/+6 |
| | | | | This avoids delays, timeouts and missing copy/paste actions. | ||||
* | Clipboard.c: remove superflous return | Ulrich Sibiller | 2019-09-29 | 1 | -2/+0 |
| | |||||
* | Clipboard.c: drop unneeded return code | Ulrich Sibiller | 2019-09-29 | 1 | -8/+10 |
| | |||||
* | Clipboard.c: add loads of comments | Ulrich Sibiller | 2019-09-29 | 1 | -32/+195 |
| | |||||
* | Clipboard.c: rework debug prints | Ulrich Sibiller | 2019-09-29 | 1 | -57/+167 |
| | | | | add new debug output, extend existing, drop meaningless | ||||
* | Clipboard.c: translate internal to external atom | Ulrich Sibiller | 2019-09-29 | 3 | -5/+22 |
| | | | | | | | | serverClientCutProperty is the external equivalent of the internal clientCutProperty. We need it on the server side, too, because we use the property on the serverWindow on the real X server. We could (mis)use serverCutProperty here but this might introduce race conditions when both sides request selections simultaneously. | ||||
* | Clipboard.c: remove unneccessary return | Ulrich Sibiller | 2019-09-29 | 1 | -2/+0 |
| | |||||
* | Clipboard.c: whitespace fixes | Ulrich Sibiller | 2019-09-29 | 1 | -14/+14 |
| | |||||
* | Clipboard.c: improve readability by using an if clause | Ulrich Sibiller | 2019-09-29 | 1 | -2/+3 |
| | |||||
* | Clipboard.c: introduce nxagentInitSelectionOwner | Ulrich Sibiller | 2019-09-29 | 1 | -11/+11 |
| | |||||
* | Clipboard.c: scope improvements | Ulrich Sibiller | 2019-09-29 | 1 | -11/+8 |
| | |||||
* | Clipboard.c: Refactor nxagentCollectPropertyEvent | Ulrich Sibiller | 2019-09-29 | 1 | -83/+77 |
| | |||||
* | Clipboard.c: cleanup in nxagentRequestSelection | Ulrich Sibiller | 2019-09-29 | 1 | -16/+13 |
| | |||||
* | Clipboard.c: use designated initializers where appropriate | Ulrich Sibiller | 2019-09-29 | 1 | -41/+24 |
| | |||||
* | Clipboard.c: factor out nxagentReplyRequestSelection | Ulrich Sibiller | 2019-09-29 | 1 | -27/+38 |
| | |||||
* | Clipboard.c: TIMESTAMP is a special server target | Ulrich Sibiller | 2019-09-29 | 1 | -0/+7 |
| | | | | | This is not a functional change, it only helps in clearer debugging output. |