Commit graph

6790 commits

Author SHA1 Message Date
David Reveman
b27fbaf53e Keep track of input focus and pointer location. 2008-11-11 10:47:29 -05:00
David Reveman
f2d45e1153 Handle errors properly in dmxProcShmGetImage. 2008-11-08 09:51:07 -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
2fa16f2e29 Add alternative window support to dmxGetImage. 2008-11-07 11:22:44 -05:00
David Reveman
fc99433dbd Call XineramaReinitData when changing screen size. 2008-11-06 18:53:43 -05:00
David Reveman
1e560d6adb Never enter dmxDispatch through dmxGetImage as it might be
called when sending a client reply.
2008-11-06 13:52:02 -05:00
David Reveman
51ac918e70 Fix large set of issues related to handling of incremental
selection transfers and MULTIPLE target.
2008-10-30 03:37:54 -04:00
David Reveman
7c5c9f1053 Use dmxGCPrivateKeyIndex. 2008-10-30 03:37:53 -04:00
David Reveman
1bc99c10fb Use xorg_backtrace. 2008-10-30 03:37:53 -04:00
David Reveman
dc9c9a33be Use calloc instead of xcalloc. 2008-10-30 03:37:53 -04:00
David Reveman
8be57614e5 Use CursorScreenKey. 2008-10-30 03:37:53 -04:00
David Reveman
2fda3eb35b Use calloc instead of xcalloc. 2008-10-30 03:37:53 -04:00
David Reveman
14ddc4dc2f Include Xmd.h. 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
1b8d6ee499 Fix a few XDND issues. 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
9d27235e93 Proper keyboard grabbing support. 2008-10-30 03:37:52 -04:00
David Reveman
4bcc2b1356 Remove disabled passive grab code. 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
1df5903f9a Release all pressed keys and buttons when device is disabled. 2008-10-30 03:37:51 -04:00
David Reveman
0cfed6a2d7 Adjust input code so we can deal with input events outside the root
window during grabs.
2008-10-30 03:37:51 -04:00
David Reveman
4c5cb82302 Add more appropriate system for dealing with pointer motion when
forwarding XDND.
2008-10-30 03:37:51 -04:00
David Reveman
f30d46a9b9 Avoid selection conversion duplicates. 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
9106ea0d2b Don't enter back-end dispatch from here. 2008-10-30 03:37:50 -04:00
David Reveman
16ba380665 Detect selection window destuction. 2008-10-30 03:37:50 -04:00
David Reveman
f3c585f696 Generate pointer device events from position messages. 2008-10-30 03:37:49 -04:00
David Reveman
6806548a2e Add missing device_id check and clean up event struct names. 2008-10-30 03:37:49 -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
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
836e966663 Add dmxDigest. 2008-10-30 03:37:47 -04:00
David Reveman
a5738a5ec7 Don't wait for sync replies when closing down server. Use
dmxScreenReplyCheckSync in dmxDisableScreen to unsure that
no pending sync replies exist for the disabled screen.
2008-10-30 03:37:46 -04:00
David Reveman
d7ef664c3b Use default timeout now attachScreen wont block and restore
resources anymore.
2008-10-30 03:37:46 -04:00
David Reveman
404ec54778 Add enable/disable-Screen methods to dbus interface and don't have
attachScreen method automatically enable screen anymore.
2008-10-30 03:37:46 -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
671a1c4737 Always override substructure redirect for root window. 2008-10-30 03:37:45 -04:00
David Reveman
8acbc7f524 Use one output and one crtc per screen by default. 2008-10-30 03:37:45 -04:00
David Reveman
85b950f1ff Only use backend server screen saver when backend server's root window
is used as screen window.
2008-10-30 03:37:44 -04:00
David Reveman
37c992cd73 Shut up compiler. 2008-10-30 03:37:44 -04:00
David Reveman
34f76e6ef9 Initialize Box.x1 properly. 2008-10-30 03:37:43 -04:00
David Reveman
d12dbde9f0 Use XQueryInputVersion. 2008-10-30 03:37:43 -04:00
David Reveman
1fcd10eab9 Cleanup font code. 2008-10-30 03:37:43 -04:00
David Reveman
06eee6ba93 Allow NoSymbol to match anything. 2008-10-30 03:37:42 -04:00
David Reveman
e54dce132f Add simple keycode mapping system.
Only keycodes from backend server with fully matching
keysyms are mapped to local keycodes and processed as
input events.

A truly independent backend server keymap can be obtained
by using a separate master device.
2008-10-30 03:37:42 -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