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 d2b768890f
)
2007-11-29 02:21:16 -08:00
Jeremy Huddleston
3839756061
Darwin: Removed support for darwinSwapAltMeta
...
(cherry picked from commit 3d153c8fa4
)
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 9c6d8a035b
)
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 3f857e129d
)
(cherry picked from commit 70374a5893
)
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 1786f9464a
)
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 ec84a4cef6
)
2007-11-21 23:26:15 -08:00
Ben Byer
829b6641bd
Darwin: Disabled ALT_IS_MODE_SWITCH
...
(cherry picked from commit fd181254f8
)
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 0e0b452d10
)
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 148a87ff20
)
2007-11-21 23:18:34 -08:00
Ben Byer
f5f833b806
Darwin: These changes are necessary, yet not sufficient, to get 8-bit indexed
...
color mode working in Xquartz.
(cherry picked from commit a415f62f52
)
2007-11-21 23:18:13 -08:00
Ben Byer
8358334180
Darwin: Fixed the call to xp_init so that we now receive Motion notifications even
...
if X is not the active application.
fixes <rdar://problem/5167664> xeyes dead until window activation
(cherry picked from commit c7573379a8
)
2007-11-21 23:16:27 -08:00
Ben Byer
512dee9087
Darwin: fix for spurious "Are you sure you want to quit?" message
...
(cherry picked from commit 30cbfc786e
)
2007-11-21 23:15:26 -08:00
Ben Byer
28e73e99a9
Darwin: Adding "fake RandR" support from old X11.app
...
(cherry picked from commit 633490c4e8
)
2007-11-21 23:14:21 -08:00
Ben Byer
01b70afaac
Darwin: Initial support for Spaces -- if you use Expose to drag an X11
...
window to another Space, it will work correctly (as opposed
to just leaving a ghost window). We accomplish this by listening
for the notification from Xplugin that our window has been moved,
and then we ask X11 to move the window to the new location.
(cherry picked from commit 2d50ea8013
)
2007-11-21 23:13:48 -08:00