Commit graph

6802 commits

Author SHA1 Message Date
David Reveman
03d44a4b8b dmxActivateFakePointerGrab -> dmxActivateFakeGrab and
dmxDeactivateFakePointerGrab -> dmxDeactivateFakeGrab.
2008-11-19 11:25:14 -05:00
David Reveman
0f2f7f081a Maintain fake grab while pointer is inactive. 2008-11-19 11:20:19 -05:00
David Reveman
101dd82763 Add dmxFakePointerGrab and dmxReleaseFakePointerGrab. 2008-11-19 11:01:40 -05:00
David Reveman
f05de44e82 Never update proxy window geometry on backend server. 2008-11-18 18:22:34 -05:00
David Reveman
0a4fa666b5 Check if reply != NULL. 2008-11-18 18:20:55 -05:00
David Reveman
8761e963d0 Position input overlay window at -1, -1. 2008-11-18 17:19:29 -05:00
David Reveman
b6dd1a68b6 Cleanup dmxcursor.c and implement proper pointer warping. 2008-11-12 09:32:26 -05:00
David Reveman
2681b50b44 Use a private system bus connection to properly handle
teardown and reconnect during server reset.
2008-11-11 17:05:28 -05:00
David Reveman
9fd9c35af0 Release randr mode references properly. 2008-11-11 17:03:28 -05:00
David Reveman
893d5ddda9 Terminate launched display when closing first screen. 2008-11-11 17:02:09 -05:00
David Reveman
0e937cb11b Replace HAVE_SIGPROCMASK with SIG_BLOCK and make sure
display can be re-launched at server reset.
2008-11-11 17:00:26 -05:00
David Reveman
5946cdf71a Fix input device grab handling.
- only try to grab back-end server devices when they are active
- try to establish existing grab when device becomes active
2008-11-11 11:34:57 -05:00
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