Commit Graph

3917 Commits

Author SHA1 Message Date
Ben Byer
ed15fe4f52 fixed bug that prevented customized Applications menu items
with arguments from working
2007-11-20 03:30:31 -08:00
Ben Byer
a1c8b66164 fix incorrectly formatted .xinitrc warning 2007-11-20 03:30:29 -08:00
Ben Byer
005b7d637a Trap Deactivate messages and release modifiers to avoid "stuck shift lock" (etc) bugs 2007-11-20 03:30:26 -08:00
Ben Byer
579a051457 Workaround for a bug where the holding down Command to make a "fake"
button 2 click would actually result in a Command-2 chord.
(I.e. it wasn't releasing Command before clicking the fake button.)
2007-11-20 03:26:54 -08:00
Ben Byer
d01986d5a9 DIX Fix: QueryFontReply packets can be too big to be allocated on the stack 2007-11-20 03:18:42 -08:00
Ben Byer
65c67205fd Enable PseudoramiX extension by default, like on the old server 2007-11-20 03:18:21 -08:00
Ben Byer
37679cadf8 make dist fixes 2007-11-20 03:17:45 -08:00
Ben Byer
cfdf2fa281 Added patch fix yellow-cursor problem which appears on some Intel Macs 2007-11-20 03:17:00 -08:00
Ben Byer
a2a2bbfe84 Some autoconf hacks to make 'make dist' work correctly 2007-11-20 03:16:49 -08:00
Ben Byer
616ba3c7d6 finished committing downstream changes 2007-11-20 03:15:02 -08:00
Ben Byer
b8e6c80c0d more patches, autoconf fixes... 2007-11-20 03:13:06 -08:00
Ben Byer
120e831640 More patches from downstream 2007-11-20 03:01:12 -08:00
Ben Byer
2c4d1eeb41 removed CVS Id tags 2007-11-20 02:25:59 -08:00
Ben Byer
a1d901d686 merged the rest of Apple patches to xserver 2007-11-20 02:24:54 -08:00
Ben Byer
e3f9867e86 added missing file from Apple version of 7.2 2007-11-20 02:21:14 -08:00
Ben Byer
68ad49994f added Apple-specific defaults to configure.ac 2007-11-20 02:05:41 -08:00
Peter Hutterer
cbf775cde7 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-17 22:50:07 +01:00
Michel Dänzer
3e987ea670 EXA: Don't attempt to move in pixmaps that can't be accelerated.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=12815 .

(Related to commit 5d74416740 on master.)
2007-11-17 22:42:31 +01:00
Michel Dänzer
75b9dc907b EXA: Make sure tile offsets passed to drivers are never negative.
Thanks to Björn Steinbrink for pointing out the problem on IRC.

(cherry picked from commit 006f652505 with
 modifications.)
2007-11-17 22:40:36 +01:00
Michel Dänzer
732d586b09 EXA: Punt on fallback case not handled correctly in exaFillRegionTiled.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=12520 .

(From master commit c7d6d1f5, modified to suit.)
2007-11-17 22:39:34 +01:00
Daniel Stone
a3aed33244 XKB: Don't ring the bell when we don't have a BellProc (bug #13246)
(cherry picked from commit 55888552769ce6361174285b09dfb78ee22c170d)
2007-11-17 22:35:58 +01:00
Daniel Stone
f3a5d67688 GetKeyboardEvents: Reject out-of-range keycodes (bug #12528)
We can only deal with keycodes between 8 and 255, so make sure that we never
accept anything out of this range.
(cherry picked from commit 0e800ca465)
2007-11-17 22:07:08 +01:00
Naoki Hamada
35bf7c738a Input: Fix key down test (bug #12858)
Fix the botched previous key_is_down test, which would give false positives.
Also move key_autorepeats to a separate inline function.
(cherry picked from commit 242f56f722)
2007-11-17 22:06:51 +01:00
Daniel Stone
b3de1b9d37 XFree86 Misc/VidMode: Remove ridiculous debug ErrorFs
When we're building with --enable-debug, don't emit an ErrorF every time a
function gets called.
(cherry picked from commit 6d59bb5709)
2007-11-17 22:06:49 +01:00
Dodji Seketeli
007e2239cf Xephyr: don't initialise the GLX extension 2007-11-12 20:29:12 +01:00
Daniel Stone
7f231de5e0 .gitignore: Ignore build directories
Ignore directories people might use for building.
(cherry picked from commit 36df34cffd0cfcfb250fb42596781b3d4e9871eb)
2007-11-06 15:05:16 +00:00
Alan Coopersmith
4c20d61046 Actually build Secure RPC authentication support (missed in modularization)
(cherry picked from commit 23fbd5292d)
2007-11-06 14:54:20 +00:00
Matthias Hopf
f350c81a91 Prefer configured DisplaySize to probed DDC data, if available.
Based on patch by Hong Liu <hong.liu@intel.com>.
(cherry picked from commit 48ca5961ca)
2007-11-06 14:53:42 +00:00
Keith Packard
c550186570 Screen size changing should leave FB alone when X is inactive.
xf86RandR12ScreenSetSize must protect calls to EnableDisableFBAccess with
suitable vtSema checks to avoid invoking driver code while the X server is
inactive.
(cherry picked from commit 265a633cf1)
2007-11-06 14:53:03 +00:00
Elvis Pranskevichus
9244b8e4a2 Config: D-Bus: Fix dbus_bus_request_name failure check
The code in connect_hook incorrectly checks for dbus_bus_request_name failure.
The dbus_bus_request_name error indicator is -1, not 0. This leads
to subsequent assertion failure in libdbus.
(cherry picked from commit ddce48ede0)
2007-11-06 14:52:18 +00:00
Daniel Stone
0050d7e78d DIX: XKB: Set xkbInfo to NULL as well as freeing it (bug #10639)
XkbRemoveResourceClient wants to access xkbInfo if it exists, so make
sure we NULL it after freeing it.  It doesn't make much sense to move
the RemoveResourceClient call first, as there's not much point in
notifying clients while we're shutting the server down anyway.
(cherry picked from commit 23023af1c5a33546a2027cad23a946a2882e9893)
2007-11-06 14:52:11 +00:00
Markku Vire
846745c581 Config: HAL: Touchpads are pointers too
Treat touchpads -- not just mice -- as pointer devices.
(cherry picked from commit 3f1b6765aa)
2007-11-04 16:46:38 +00:00
Mark Vytlacil
ab80b27250 XFree86: Input: Save/restore errno around SIGIO (bug #10683)
Make sure errno is saved and restored from the SIGIO handler, so errors
from system calls in input handlers don't break the interrupted code.
(cherry picked from commit 41c3069f7c)
2007-11-04 16:46:34 +00:00
Daniel Stone
ad05d5d035 Input: Generate XKB mapping changes for all core-sending devices (bug #12523)
When we change the mapping on a core device, make sure we propagate this
through to XKB for all extended devices as well.
(cherry picked from commit 27ad5d74c2)
2007-10-31 01:07:17 +02:00
Peter Hutterer
84040b655e xfree86: wrap keyboard devices for XKB.
Call ProcessOtherEvents first, then for all keyboard devices let them be
wrapped by XKB. This way all XI events will go through XKB.

Note that the VCK is still not wrapped, so core events will bypass XKB.

(cherry picked from commit d627061b48)
(cherry picked from commit 8ead41388e)
2007-10-30 00:59:17 +02:00
Daniel Stone
e26e93c54e XKB: Cope with all events in XkbProcessKeyboardEvent
Cope with Xi and pointer events in the (now increasingly misnamed)
XkbProcessKeyboardEvent.  If it's the wrong type, call through the wrapping
chain to get out; else, process it.
(cherry picked from commit e717cf08e9)
2007-10-30 00:59:12 +02:00
Daniel Stone
37c690cfa4 XKB: Don't update indicators on all devices, add missing include file
Don't get XkbUpdateIndicators to update the indicators on all our devices: we
already deal with that ourselves.
Add exevents.h include to get more (proto)types.
(cherry picked from commit 9db8846fa5)
2007-10-30 00:59:07 +02:00
Peter Hutterer
1dce9c2028 xkb: Unwrap properly in ProcessPointerEvent.
Instead of hardcoding CoreProcessPointerEvent, actually try to unwrap properly
and then call the unwrapped processInputProc. Seems to be a better idea,
especially since it makes stuff actually work...
(cherry picked from commit 8f9bf927e1)
(cherry picked from commit ee3aa948eb)
2007-10-30 00:58:59 +02:00
Peter Hutterer
940cce1f48 xkb: xkbHandleActions: let wrapping take care of event delivery.
This is hopefully better than hardcodey calling CoreProcessPointerEvent.
(cherry picked from commit 32d0440c7f)
(cherry picked from commit d3588a0aee)
2007-10-30 00:58:55 +02:00
Peter Hutterer
5909fb3c40 dix: don't compress motion events from different devices (EventEnqueue)
(cherry picked from commit 8840829ab9)
(cherry picked from commit 352c5a3112)
2007-10-30 00:58:51 +02:00
Peter Hutterer
600752bece dix: add XI event support to FixKeyState.
FixKeyState needs to be able to handle XI events, otherwise we get "impossible
keyboard events" on server zaps and other special key combos.
(cherry picked from commit 5ee409794e)
(cherry picked from commit 8d3d027062)
2007-10-30 00:58:43 +02:00
Peter Hutterer
15117d47bf xkb: enable XI event processing for xkb.
XI events can now take the same processing paths as core events, and should do
the correct state changes etc.

There's some cases where XKB will use KeyPress as type for an event to be
delivered to the client. Stuck warnings in, not sure what the correct solution
is yet.

(cherry picked from commit 6334d4e7be with some
 additional compile fixes and non-MPX adaptations)
(cherry picked from commit 99e826e867)
2007-10-30 00:58:38 +02:00
Peter Hutterer
83e76fb3f7 Save processInputProc before wrapping it and restore it later, instead of
using a hardcoded ProcessKeyboardEvent. Otherwise we lose the ability to
process DeviceKeyEvents after the first key press.

This should be the correct fix now.
(cherry picked from commit 4d5df14f2c)
(cherry picked from commit 91077bfc50)
2007-10-30 00:58:34 +02:00
Peter Hutterer
a53172827c xkb: Store the action filters per device in the XkbSrvInfoRec.
Using a global array for action filters is bad. If two keyboard hit a modifier
at the same time, releaseing the first one will deactivate the filter and
thus the second keyboard can never release the modifier again.
(cherry picked from commit bfe6b4d2d9)
(cherry picked from commit 8b9481a113)
2007-10-30 00:58:25 +02:00
Daniel Stone
b76b1d51fe XFree86: Remove ridiculous SIGIO debugging
YOU PRESSED A KEY
AND AGAIN
YOU RELEASED A KEY
AND AGAIN
YOU PRESSED A KEY
AND AGAIN

... not so much.
(cherry picked from commit 493b83bd09)
2007-10-30 00:58:19 +02:00
Daniel Stone
b600e7c123 XKB: Add more bits to xkbsrv.h
Add the device private index, given we use that in a macro here, and also the
prototype for xkbUnwrapProc, since that's also useful.
(cherry picked from commit a3d48de5f2)
2007-10-30 00:58:14 +02:00
Daniel Stone
63c6d9d622 Xi: Include XI protocol header in exevents.h
Make sure we have all the types we need to use this header.
(cherry picked from commit e29e69960d)
2007-10-30 00:58:09 +02:00
Daniel Stone
bd779f8cde configure.ac/XFree86: Only build XF86Misc and XF86VidMode when appropriate
Don't build XF86Misc or XF86Vidmode in hw/xfree86/dixmod when it's been
explicitly disabled in configure, or we don't have the proto modules
installed.

(cherry picked from commit df57ae1639)
2007-10-30 00:57:49 +02:00
Aaron Plattner
881e4fb518 Set noCompositeExtension to TRUE when failing to initialize the extension (e.g. when Xinerama is enabled).
(cherry picked from commit 50fa8722d3)
2007-10-30 00:56:15 +02:00
Aaron Plattner
ce55565ecd Don't segfault on shutdown if we never managed to connect to dbus.
(cherry picked from commit 3a965fdadc)
2007-10-30 00:55:26 +02:00