Commit graph

34 commits

Author SHA1 Message Date
David Reveman
f773f0d55b Maintain fake grab while keyboard is inactive. 2008-11-19 13:52:57 -05:00
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
0a4fa666b5 Check if reply != NULL. 2008-11-18 18:20:55 -05:00
David Reveman
b6dd1a68b6 Cleanup dmxcursor.c and implement proper pointer warping. 2008-11-12 09:32: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
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
8b167b13dc Call-back based async request handling. 2008-10-30 03:37:50 -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
4174d4f00d Clean up and initial XDnD support. 2008-10-30 03:37:48 -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
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
056985eff7 Don't enable devices from InitInput. 2008-10-30 03:37:41 -04:00
David Reveman
cf71079e2a Fix early freeing of ext. 2008-10-30 03:37:41 -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
b94d36eb95 Asynchronous pointer grabbing. 2008-10-30 03:37:23 -04:00
David Reveman
e92aa7be90 Use XCB for event processing. 2008-10-30 03:37:21 -04:00
David Reveman
c596e2a03e Allow server to be started without any input devices. 2008-10-30 03:37:17 -04:00
David Reveman
8940409b9a Remove input devices properly. 2008-10-30 03:36:59 -04:00
David Reveman
84ddb6de62 Add new DMX input code that uses the mi event queue and MPX
for handling of multiple input devices.
2008-10-30 03:36:58 -04:00
Alan Hourihane
84eb7e6224 Fix Xdmx build 2007-09-06 13:37:24 +01:00
Adam Jackson
4d76075dbb Death to RCS tags. 2007-06-29 14:06:52 -04:00
Brian
92e8cdbd32 Checkpoint fixes to DMX for X input changes.
Xdmx builds and runs now.
Keyboard seems OK, and mouse pointer moves, but everything else is flakey.
Something is still seriously wrong.
2007-03-30 13:19:33 -06:00
Daniel Stone
ad631afcf3 make core keyboard/pointer map functions act on all core-sending devices
Make Set{Keyboard,Modifier,Pointer}Mapping act on all devices which send core
events.
Change LegalModifier to accept a DeviceIntPtr.
2006-09-29 00:34:23 +03: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