Adam Jackson
fa47910045
Clean up many #if 0.
2007-12-02 12:40:25 -05:00
Ben Byer
83ba1e167c
added missing call to xcb_connect()
...
(cherry picked from commit dc2fb323ee11f081d447605be151024f9e2487f9)
2007-12-01 19:04:06 -08:00
Jeremy Huddleston
9ad4560b3c
Darwin: Alt is Mode_switch Switching to Mode_switch to maintain compatibility with Tiger X11.
...
(cherry picked from commit 8a76c99c0ebbaf7375f3a9c75c4f7921a79024da)
2007-12-01 17:27:36 -08:00
Jeremy Huddleston
f83d758dcc
Darwin: properly implemented xcb check for stale sockets
...
(cherry picked from commit f543cb8fbb3d9213cb03396f4252ab9821319993)
2007-11-30 16:11:15 -08:00
Jeremy Huddleston
f54b28eeba
Darwin: Undo focus-hack which didn't work right.
2007-11-30 16:09:23 -08:00
Dave Airlie
f30abe30c5
edid quirk for MAX 0x77e monitor
...
From RH bugzilla 306441
2007-11-30 13:53:21 +10:00
Peter Hutterer
6216abe0c1
dix: avoid activating the VCP/VCK twice.
...
This may set dev->key-xkbinfo to NULL, causing a segfault in xkb code lateron.
Spotted by David Huggins-Daines.
2007-11-30 11:34:24 +10:30
Peter Hutterer
9eb8ea9e61
dix: only freeze the paired MD on a grab, not all other devices.
2007-11-30 11:32:59 +10:30
Jeremy Huddleston
8a079be0dd
Darwin: #ifdefs around dix-config.h include and NDEBUG/assert.h workaround.
...
(cherry picked from commit d2b768890f0878ae4e3fec8f7219e82b79256133)
2007-11-29 02:21:16 -08:00
Jeremy Huddleston
3839756061
Darwin: Removed support for darwinSwapAltMeta
...
(cherry picked from commit 3d153c8fa40986d194b7701f5eafa0080e32399a)
2007-11-29 02:21:16 -08:00
Dave Airlie
89c3dfe41e
modes: use xf86RandR12Index to stop illegal access
...
xf86RandR12Index set to -1, and if initialised it gets 0 or higher.
This allows the server to start with xinerama turned on with only one head
2007-11-29 19:57:24 +11:00
Dave Airlie
725710fd0b
randr: make randr code not segfault when xinerama set
2007-11-29 19:40:53 +11:00
Peter Hutterer
e4fe0a3cb7
xkb: swap a LookupKeyboardDevice over in favour of GetPairedDevice
...
The former always returns the VCK, which is obviously wrong if we have
multiple devices.
2007-11-29 10:14:38 +10:30
Adam Jackson
23b8ca8a37
RANDR 1.2: Only enable unknown outputs if there are no connected outputs.
...
Otherwise you end up with a confusing initial geometry, and xscreensaver
and friends get very angry.
2007-11-27 13:20:40 -05:00
Peter Hutterer
edebe76cfd
Xi: set DeviceXXXState's length fields to the correct size of the struct.
...
Setting it to the size of a pointer is an interesting but equally wrong
approach. Luckily Xlib never used this field anyway so nobody got hurt so far.
Spotted by Simon Thum.
(cherry picked from commit 0f2398d06c
)
2007-11-27 13:15:28 +10:30
Peter Hutterer
0f2398d06c
Xi: set DeviceXXXState's length fields to the correct size of the struct.
...
Setting it to the size of a pointer is an interesting but equally wrong
approach. Luckily Xlib never used this field anyway so nobody got hurt so far.
Spotted by Simon Thum.
2007-11-27 10:22:44 +10:30
Jeremy Huddleston
601307615e
Darwin,Rootless: Makefile cleanup
...
(cherry picked from commit 9c6d8a035b712b219833653ac637b89703a9b0c3)
2007-11-26 14:49:32 -08:00
Eamon Walsh
8503072e1c
registry: add missing include statement.
2007-11-26 16:54:33 -05:00
Eamon Walsh
996b621bec
registry: swap out the DTRACE XErrorDB stuff for the new registry call.
2007-11-26 15:59:44 -05:00
Eamon Walsh
54cb729ecc
registry: Add a call for DTRACE compatibility.
2007-11-26 15:59:01 -05:00
Eamon Walsh
decd5a7c60
registry: Rebase registry to use the server config file of protocol names.
2007-11-26 15:26:49 -05:00
Eamon Walsh
9b0e72c8d9
registry: Add a great big list of protocol names, like the XErrorDB that
...
ships with Xlib. This is considered temporary, until server-side XCB can
solve the problem programmatically.
2007-11-26 15:26:04 -05:00
Eamon Walsh
c0f9e204ba
registry: rename the SERVERCONFIGdir and relocate it to /usr/lib/xorg
...
by default.
2007-11-26 15:24:15 -05:00
Adam Jackson
a344920ae8
Allow Virtual to be specified globally in the Screen section.
...
The Display subsections are optional, and it's confusing to need to create
them just to set a Virtual size.
2007-11-26 11:53:08 -05:00
Matthias Hopf
c6c284e64b
Initialize Mode with 0 in xf86RandRModeConvert.
...
Asking for trouble if non-initialized values contain random data.
2007-11-26 15:39:42 +01:00
Peter Hutterer
a4edfbef02
mi: only call UpdateSpriteForScreen if the screen actually changed.
...
If we call it unconditionally, we flip the dev->spriteInfo->sprite permanently
when using XTestFakeInput (once in CheckMotion as called from the
processInputProc, another time in UpdateSpriteForScreen when we actually warp
the cursor). USFS also updates to the screen's root window unconditionally,
which is not really what we want if we haven't changed screen at all.
2007-11-24 16:16:48 +10:30
Peter Hutterer
bf3198c8c5
dix: fix typo
2007-11-24 15:00:57 +10:30
Peter Hutterer
5dabe448bd
dix: Add special treatment of NotifyUngrab for enter/leave events.
...
In some cases (e.g. using x2x) the previous model broke, with a window ending
not counting down to 0 anymore. Special treatment for NotifyUngrab seems to
help here.
Current solution: If a NotifyGrab is to be sent ignore it. If a NotifyUngrab
enter is sent, only adjust the semaphore if it is on 0. Likewise, do the same
for a NotifyUngrab leave if the semaphore is on 1. This seems to work alright
so far.
2007-11-24 15:00:43 +10:30
Keith Packard
33b94da632
Re-add call to XFixesExtensionInit for static servers.
...
This reverts a portion of bcbaf2a0ce
which
removed the call to XFixesExtensionInit and some cpp lines.
2007-11-23 16:01:11 -08:00
Matthias Hopf
f6401f944d
Don't segfault if referring to a relative output where no modes survived.
2007-11-23 16:14:48 +01:00
Matthias Hopf
fa19e84714
Fix initial placement of LeftOf and Above.
2007-11-23 16:14:48 +01:00
Matthias Hopf
184e571957
Adjust offsets of modes that do not fit virtual screen size.
...
Fixes memory corruption if a too small "Virtual" was specified in xorg.conf
for the selected multi-monitor configuration.
2007-11-23 16:14:48 +01:00
Peter Hutterer
a80e64f150
XKB: Generate correct key repeat events (bug #13114 )
...
Make sure we send the correct event for the type of device when we're
sending key repeat events, which stops repeats being sent to incorrect
windows.
2007-11-23 23:21:33 +10:00
Jeremy Huddleston
63351df0ee
Darwin: Fix compilation/linking problems
2007-11-22 18:02:07 -08:00
Jeremy Huddleston
bf4ef4da75
Darwin: Remove the PaintWindow optimization which snuck back in.
2007-11-22 17:45:15 -08:00
Jeremy Huddleston
2082e7aa87
Rootless: Remove the PaintWindow optimization which snuck back in.
2007-11-22 17:18:48 -08:00
Jeremy Huddleston
a751bc12be
Rootless: Imported changes made in xorg-server-1.2-apple branch
2007-11-22 13:53:00 -08:00
Jeremy Huddleston
59c7ca6586
Darwin: Added missing Makefile.am
2007-11-22 13:29:15 -08:00
Jeremy Huddleston
23596291c3
Darwin: More syncing witn xorg-server-1.2-apple
2007-11-22 13:17:44 -08:00
Jeremy Huddleston
4e18c62635
Rootless: Pulled in changes from fb{Blt,Fill} into rl{Blt,Fill}
...
(cherry picked from commit 3f857e129df7ce492191e0c51b8e53eaf6179366)
(cherry picked from commit 70374a58937d7a6f01c210bd6ac66cafb63e895a)
2007-11-22 12:21:59 -08:00
Jeremy Huddleston
ed9524d36e
Darwin: Copied over missing file (Localizable.strings) from xorg-server-1.2-apple
2007-11-22 01:07:02 -08:00
Jeremy Huddleston
4d9cef197b
Darwin: Misc cleanups to line up with xorg-server-1.2-apple
2007-11-22 00:35:09 -08:00
Jeremy Huddleston
5e950123da
Darwin: Removed cvs tags from Xquartz man page
2007-11-21 23:32:00 -08:00
Jeremy Huddleston
3a2f714eea
Darwin: Removed .svn dir
2007-11-21 23:30:37 -08:00
Peter Hutterer
691da03131
Xi: allocate motion history for master device.
...
We're still missing out on the actual content of the history but at least this
way we don't segfault.
2007-11-22 17:59:48 +10:30
Jeremy Huddleston
602de4f70b
Darwin: Use UTF8String since lossyCString is deprecated
...
(cherry picked from commit 1786f9464af51ff606a612aec6fe420fa9688a28)
2007-11-21 23:27:17 -08:00
Ben Byer
13666e287c
Darwin: Added some DEBUG_LOG sauce to the XP_EVENT handling code
...
(cherry picked from commit ec84a4cef66a2b46ed71f9758c434ea629d2f270)
2007-11-21 23:26:15 -08:00
Ben Byer
829b6641bd
Darwin: Disabled ALT_IS_MODE_SWITCH
...
(cherry picked from commit fd181254f85543558190140787dc7b41f6cf90db)
2007-11-21 23:23:44 -08:00
Ben Byer
8486f8af91
Darwin: Added a lightweight debugging facility to support troubleshooting
...
(for example) the stuck modifier key issue
(cherry picked from commit 0e0b452d10c0af55497c3299b5f3db45d5b381cb)
2007-11-21 23:18:46 -08:00
Ben Byer
74214a9f42
Darwin: Patch to avert (some) damage / rootless crashes, courtesy of Ken Thomases
...
(cherry picked from commit 148a87ff20aa5e7a6d839610aa14fa1a31505c4a)
2007-11-21 23:18:34 -08:00