Commit graph

17 commits

Author SHA1 Message Date
David Reveman
8b167b13dc Call-back based async request handling. 2008-10-30 03:37:50 -04:00
David Reveman
1c92cd5a25 Fix handling of disabled screens. 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
83a20beb9c Don't force an initial sync. 2008-10-30 03:37:39 -04:00
David Reveman
27513c4fd1 Fix sync batch timer leak. 2008-10-30 03:37:32 -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
d6fcb6c516 Don't use xcb_get_input_focus_unchecked. 2008-10-30 03:37:25 -04:00
David Reveman
7903f53f78 Improve reply processing and sync batch handling. 2008-10-30 03:37:22 -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
e92aa7be90 Use XCB for event processing. 2008-10-30 03:37:21 -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
4d692bd15b Don't trigger the sync timer in block handler. Just flush output
buffers.
2008-10-30 03:37:15 -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
2bda1f5610 Nomad DMX work. 2008-10-30 03:36:41 -04:00
Adam Jackson
4d76075dbb Death to RCS tags. 2007-06-29 14:06:52 -04:00
Kevin E Martin
e348ac4b4d Prepare Xdmx and Xvfb for modularization by adding appropriate #include
<{dix,dmx}-config.h> to the source files.
2005-07-12 00:52:48 +00:00
Kevin E Martin
7976ee51af Add Distributed Multihead X (DMX) support 2004-06-30 20:06:56 +00:00