Commit graph

6764 commits

Author SHA1 Message Date
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
David Reveman
f0f6c5542b Cleanup XDMX_LIBS. 2008-10-30 03:37:42 -04:00
David Reveman
af2db5f25c Make sure beck-end server MIT-SHM support really works before using it. 2008-10-30 03:37:41 -04:00
David Reveman
f777f9ee7e Don't use rootEventMask for non-root windows. 2008-10-30 03:37:41 -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
c4ba32e150 Cleanup. 2008-10-30 03:37:41 -04:00
David Reveman
a8394499d8 Remove local input support for dmx. 2008-10-30 03:37:40 -04:00
David Reveman
e2cb7ac2a1 Remove old DMX config system. 2008-10-30 03:37:40 -04:00
David Reveman
0bdf55838d More appropriate adding of detached screens. 2008-10-30 03:37:40 -04:00
David Reveman
49a9b0af05 Use root window instead of screen window for input events. 2008-10-30 03:37:40 -04:00
David Reveman
6dfc7dbb1c Use localhost as screen name whe hostname is empty. 2008-10-30 03:37:40 -04:00
David Reveman
7beb85abb7 Don't allow empty string for screen name. 2008-10-30 03:37:39 -04:00
David Reveman
5e5f78d66b Remove unnecessary sync requests. 2008-10-30 03:37:39 -04:00
David Reveman
83a20beb9c Don't force an initial sync. 2008-10-30 03:37:39 -04:00
David Reveman
fd5aea8d9d Add missing include. 2008-10-30 03:37:39 -04:00
David Reveman
433f395bbb Fix typo. 2008-10-30 03:37:39 -04:00
David Reveman
f63080435d Ignore screen window map notify events. 2008-10-30 03:37:39 -04:00
David Reveman
55ac57fab4 Only use back-end DPMS support when back-end server's
root window is used as screen window.
2008-10-30 03:37:38 -04:00
David Reveman
7ff014f5e2 Don't mess with back-end server screen saver. 2008-10-30 03:37:38 -04:00
David Reveman
796f7c999a Fix reverse walking of window properties and make sure
dmxBECreateWindowProperties works when panoramix is
disabled.
2008-10-30 03:37:37 -04:00
David Reveman
9b684f84fb Fix typo. 2008-10-30 03:37:37 -04:00
David Reveman
953781bb45 Remove all traces of DMXVNC. 2008-10-30 03:37:37 -04:00
David Reveman
03ce9acf74 Apply default options more properly. 2008-10-30 03:37:37 -04:00
David Reveman
7865c254f3 Restore window properties in the order they were created. 2008-10-30 03:37:37 -04:00
David Reveman
95ad9dc40c Don't ignore expose events that are the result of mapping
the root window on back-end server.
2008-10-30 03:37:36 -04:00