Commit graph

42 commits

Author SHA1 Message Date
David Reveman
2fddbd3024 Have DMX DnD support handle shaped windows properly. 2008-11-19 17:33:38 -05:00
David Reveman
2f19aa9ab0 Improve selection handling.
Dynamically create proxy windows as needed. Handle multiple
simultaneous selection conversions of the same selection
properly.
2008-11-07 11:24:45 -05:00
David Reveman
2fda3eb35b Use calloc instead of xcalloc. 2008-10-30 03:37:53 -04:00
David Reveman
e6d24e28de Handle top-level window changes properly in DND mode. 2008-10-30 03:37:52 -04:00
David Reveman
4c6c7db673 Proper support for selection conversion with MULTIPLE target. 2008-10-30 03:37:52 -04:00
David Reveman
6a7948491b Initial back-end server DND target support. 2008-10-30 03:37:51 -04:00
David Reveman
051d638d9d Proper prefetching of required back-end server atoms. 2008-10-30 03:37:51 -04:00
David Reveman
8b167b13dc Call-back based async request handling. 2008-10-30 03:37:50 -04:00
David Reveman
b72d8f4037 Add DMXRequest type. 2008-10-30 03:37:50 -04:00
David Reveman
d203e4900b Fix a number of DnD issues. 2008-10-30 03:37:48 -04:00
David Reveman
4174d4f00d Clean up and initial XDnD support. 2008-10-30 03:37:48 -04:00
David Reveman
a1dd3fe551 Add selection support.
Selections are automatically shared with back-end servers. This provides
seamless communication between back-end server clients and local clients.

Some selections are not appropriate to share as they will cause
unwanted conflicts. E.g. most manager selections.  These selections
can still be shared by adding a unique identifier to them. Selections
that need this identifier can be specified using a command line option.
2008-10-30 03:37:47 -04:00
David Reveman
80d2040d94 Move the resource restore/destroy functionality of
dmxAttachScreen/dmxDetachScreen into dmxEnableScreen/dmxDisableScreen
so that screens can be attached but not enabled.
2008-10-30 03:37:45 -04:00
David Reveman
7d2698526b Remove unused variables. 2008-10-30 03:37:42 -04:00
David Reveman
64d26cd612 Remove shadow framebuffer support from xdmx. 2008-10-30 03:37:42 -04:00
David Reveman
3e83fa2188 Huge DMX input cleanup by swithcing to a simple backend only input
system.
2008-10-30 03:37:41 -04:00
David Reveman
fc833276ac External output window support. 2008-10-30 03:37:30 -04:00
David Reveman
1645174e1b DMX DBus API update. 2008-10-30 03:37:30 -04:00
David Reveman
1cc2a117a6 Add MIT-SHM support to DMX and make screen detach handling
more convenient by calling event/reply check functions with
special detach error message.
2008-10-30 03:37:29 -04:00
David Reveman
e598c34e7d Add atom tables. 2008-10-30 03:37:25 -04:00
David Reveman
e43b271db3 Asynchronous reply processing using XCB and more efficient
sync batch processing.
2008-10-30 03:37:21 -04:00
David Reveman
1c649c8e5d Add initial XVideo support to DMX. 2008-10-30 03:37:19 -04:00
David Reveman
bfd41ad4cb Use XCB for much more efficient sync batching.
Collect sync request for during the sync interval time just
like before but instead of using XSync to send get-input-focus
requests and block for replies when the sync interval timer
fires, we're now just sending get-input-focus requests using
XCB and give each back-end server the sync-interval time to
respond before we block.

This provides significantly better performance, especially
with high latency connections.

The default sync batch interval of 100ms provides good
performance for back-ends servers with round-trip times
somewhat less than 100ms and is not long enough to make
the batch processing noticeably on low latency connections.
2008-10-30 03:37:15 -04:00
David Reveman
fa53ca5772 Store glyph data in glyph private so we don't have to fetch it from a back-end server when attaching a new screen. 2008-10-30 03:37:12 -04:00
David Reveman
33ea398c24 Make property translation system configurable from the command line. 2008-10-30 03:37:10 -04:00
David Reveman
cbfbee6bf4 Add virtualFb screen parameter. 2008-10-30 03:37:08 -04:00
David Reveman
3078ea3bfd Add support for using back-end server root window. 2008-10-30 03:37:04 -04:00
David Reveman
cc40918422 Add better naming of screens and remove the screen argument
from attachScreen dbus method.
2008-10-30 03:37:01 -04:00
David Reveman
90037b647b Add proper back-end server authentication support. 2008-10-30 03:36:59 -04:00
David Reveman
33a241b9f6 Add dmxModifyPixmapHeader. 2008-10-30 03:36:57 -04:00
David Reveman
01a74f4b2e Add dmxHandleExposures. 2008-10-30 03:36:54 -04:00
David Reveman
ccaf6779fe Missing header changes. 2008-10-30 03:36:49 -04:00
David Reveman
1c6f660c60 Make number of RANDR outputs and crtcs for each back-end display configurable. 2008-10-30 03:36:47 -04:00
David Reveman
0cbb34003d Add per screen XAUTHORITY setting. 2008-10-30 03:36:46 -04:00
David Reveman
2bda1f5610 Nomad DMX work. 2008-10-30 03:36:41 -04:00
Adam Jackson
8a5b89e8e1 xalloc+memset(0) -> xcalloc 2008-10-06 15:36:51 -04:00
Adam Jackson
d6228cb22a Shape extension is built-in and mandatory. 2008-07-24 15:46:08 -04:00
Eric Anholt
e4d11e58ce Remove the PaintWindow optimization.
This was an attempt to avoid scratch gc creation and validation for paintwin
because that was expensive.  This is not the case in current servers, and the
danger of failure to implement it correctly (as seen in all previous
implementations) is high enough to justify removing it.  No performance
difference detected with x11perf -create -move -resize -circulate on Xvfb.
Leave the screen hooks for PaintWindow* in for now to avoid ABI change.
2007-09-13 00:08:53 +00:00
Adam Jackson
4d76075dbb Death to RCS tags. 2007-06-29 14:06:52 -04:00
Michel Dänzer
8356be492c Make sure _XSERVER64 is defined when it should be and gets tested. 2006-09-06 15:20:55 +02:00
Kevin E Martin
25bd6ff4a6 Add new extension enable/disable feature. This code is a small step in the
right direction -- i.e., moving towards full run-time config of
    extensions. Currently, only XTEST, XINERAMA, RENDER, XKB, and XEVIE are
    supported.
2004-07-31 04:23:21 +00:00
Kevin E Martin
7976ee51af Add Distributed Multihead X (DMX) support 2004-06-30 20:06:56 +00:00