Jeremy Huddleston
9180081ec3
XQuartz: Still send mouse events while X11 is in the background if we have test extensions enabled
...
(cherry picked from commit f393fb686c
)
2009-04-01 13:53:15 -07:00
Jeremy Huddleston
029307e79a
XQuartz: Return BadRequest when SendPSN isn't implemented rather than success
...
(cherry picked from commit 49871e9917
)
2009-04-01 13:53:04 -07:00
Jeremy Huddleston
0603fbc1d3
XQuartz: Pad xAppleDRINotifyEvent to 32bytes to match sizeof(xEvent)
...
(cherry picked from commit 276ee3bb08
)
2009-04-01 13:52:52 -07:00
Tormod Volden
b1dab580bd
xfree86: edid quirk for Philips LCD LP154W01-TLAJ
...
This panel reports its vertical size in cm.
X.Org bug#21000 <http://bugs.freedesktop.org/show_bug.cgi?id=21000 >
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Julien Cristau <jcristau@debian.org>
2009-04-01 20:05:23 +02:00
Adam Jackson
7d94414cf4
input: Remove xf86ReloadInputDevs hack
...
We have input hotplug now, no need to fake it.
2009-04-01 09:42:06 -04:00
Jeremy Huddleston
3311ef6ec9
XQuartz: Don't report mouse events while X11 is not the foreground application
...
(cherry picked from commit 5d1dd35096
)
2009-03-31 18:13:18 -07:00
Adam Jackson
89887fadc9
APM: Don't carp if not available.
2009-03-31 15:09:57 -04:00
Adam Jackson
2e145989d1
dix: Simplify InitClient()
2009-03-31 15:00:27 -04:00
Adam Jackson
252ec50481
Document which bits of ClientRec are currently unused
2009-03-31 15:00:26 -04:00
Jeremy Huddleston
0b6e14d46f
XQuartz: Fix mouse tracking for quake, et. al. in wine
...
Patch courtesy of Codeweavers
Fix mouse movement tracking. For a non-window-related mouse-move event,
calculate the new position by adding the event's delta-x and delta-y values
to the previous mouse position. Do not rely on the current mouse position
because it may have been changed by a XWarpPointer call.
(cherry picked from commit 7a67935b05
)
2009-03-30 20:41:38 -07:00
Adam Jackson
c74220b853
APM: Use general handlers, not input handlers.
...
Otherwise APM events get treated as input events, which messes up idle
time accounting and screensavers and such. Not, we hope, that anyone
is using APM anymore.
2009-03-30 14:56:15 -04:00
Adam Jackson
283a081572
selinux: Only activate if policy says to be an object manager
2009-03-27 15:56:15 -04:00
Adam Jackson
8e7facfe30
config: Fall back to vesa for Intel Poulsbo.
2009-03-27 15:48:17 -04:00
Adam Jackson
17239c8e31
misprite: Remove private header, fold into misprite.c
2009-03-27 12:44:20 -04:00
Adam Jackson
bb89fc2771
misprite: Fix software cursor on multiple ScreenRecs
2009-03-27 12:36:42 -04:00
Adam Jackson
2c000f4980
misprite: Do window check first for Get{Image,Spans} too
2009-03-27 11:54:52 -04:00
Adam Jackson
8beced6c02
misprite: RECT_IN_REGION -> miRectIn
2009-03-27 11:43:33 -04:00
Adam Jackson
a232116b9e
misprite: Fix a typo
2009-03-27 11:41:40 -04:00
Adam Jackson
1f0eaf886d
misprite: Fix cast abuse
2009-03-27 11:29:40 -04:00
Peter Hutterer
e3c1096273
dix: build_modmap_from_modkeymap needs to bounds-check its argument.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2009-03-27 11:26:15 +10:00
Peter Hutterer
45baef0b77
dix: return BadValue as error in SetModifierMapping.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2009-03-27 11:26:15 +10:00
Peter Hutterer
603db34337
Xext: set POINTER_SCREEN flag in XTestFakeInput if necessary. (RH #490984 )
...
The POINTER_SCREEN flag must be set explicitly for XTest core events to avoid
out-of-range events when the lastSlave was an SD with an explicit axis range.
Device events sent through XTest don't need this flag, they are expected to be
in the valuator range of the device anyway.
Red Hat Bug 490984 <https://bugzilla.redhat.com/show_bug.cgi?id=490984 >
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-27 11:26:15 +10:00
Adam Jackson
4ab93f0566
misprite: In SourceValidate, check that it's a Window first
...
It almost never is. However, you have _lots_ of input devices now, and
walking them all on every Composite operation is not the cheapest thing
in the world.
2009-03-23 15:19:47 -04:00
Maarten Maathuis
d698e62690
xkb: plug a memory leak in XkbCopySrvLedInfo ( #20756 )
...
X.Org Bug 20756 <http://bugs.freedesktop.org/show_bug.cgi?id=20756 >
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-23 16:07:23 +10:00
Peter Hutterer
e26f79335b
xkb: put a few extra checks in against non-keyboards
2009-03-23 16:07:05 +10:00
Peter Hutterer
844bb629fe
dix: remove a truly useless a = (foo) ? bar : bar; statement.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-23 16:06:53 +10:00
Tomas Carnecky
62183a06e5
Remove two unused defines in C files
...
These two defines were defined in C files but not used anywhere:
dix/window.c #define DeviceEventMasks (KeyPressMask | [...]
os/connection.c #define MAXFD 500
Signed-off-by: Tomas Carnecky <tom@dbservice.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-23 16:06:34 +10:00
Tomas Carnecky
4e0d7cc506
FID, whatever that was, isn't anymore
...
No traces of FID in the xserver nor in the modules listed in
util/modular/xorg.modules
Signed-off-by: Tomas Carnecky <tom@dbservice.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-23 16:06:32 +10:00
Peter Hutterer
adf21dba76
include: un-export a bunch of server-only functions.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-20 15:17:57 +10:00
Peter Hutterer
111ef10375
dix: move ProcGrabPointer guts into GrabDevice.
...
Yes, this means we have even more arguments to GrabDevice. But it beats having
a copy of most but not all of GrabDevice in ProcGrabPointer.
Also, reshuffle the order of parameters, the CARD* status is a return value
and should be last.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-20 15:17:57 +10:00
Peter Hutterer
dc153271b6
Xi: purge old device enter/leave masks.
2009-03-20 15:17:57 +10:00
Peter Hutterer
15a969c0fc
dix: remove now obsolete mskidx parameter from DeliverEventsToWindow.
...
mskidx would always be dev->id anyway, so if we're already passing in the
device, mskidx is superfluous.
2009-03-20 15:17:57 +10:00
Peter Hutterer
f5409aa026
mi: remove deprecated miPointerAbsoluteCursor
...
Functions that don't specify the device are so last year.
2009-03-20 15:17:57 +10:00
Peter Hutterer
46145a9312
dix: remove coreMods field from GrabRec.
...
Nobody uses it anyway, and it's taking up a whole bit!
2009-03-20 15:17:56 +10:00
Peter Hutterer
40e2a61e37
Add Get/SetDeviceFocus handling.
2009-03-20 15:17:56 +10:00
Peter Hutterer
d9b7343eac
dix: even if we don't get a XI1 event, continue processing.
2009-03-20 15:17:56 +10:00
Peter Hutterer
e11dc10f01
dix: Send HierarchyEvents when devices are added/removed/enabled/disabled.
2009-03-20 15:17:56 +10:00
Peter Hutterer
8634e1bcba
dix: send presence events when floating and unfloating SDs
2009-03-20 15:17:56 +10:00
Peter Hutterer
c9483a53be
include: add a few prototypes to silence compiler warnings.
2009-03-20 15:17:56 +10:00
Peter Hutterer
a4b61cfc78
dix: un-static FixUpEventFromWindow and deal with focus events too.
2009-03-20 15:17:56 +10:00
Peter Hutterer
4cc6a96d71
input: add support for RawDeviceEvents.
2009-03-20 15:17:56 +10:00
Peter Hutterer
a668d91e28
dix: store the xi2mask on grabs and pass it around as needed.
...
This enables passive and implicit passive grabs for XI2 events, except that we
don't have the protocol spec yet to request them.
2009-03-20 15:17:56 +10:00
Peter Hutterer
32f338263f
Xi: Deliver XI2 HierarchyEvents when the hierarchy changes.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-20 15:17:56 +10:00
Peter Hutterer
97e89a5957
Allow XI2 event selection for AllDevices and AllMasterDevices.
2009-03-20 15:17:55 +10:00
Peter Hutterer
808a158182
dix: Enable XI2 delivery for events and focused events.
...
No support for grabbed events yet.
2009-03-20 15:17:55 +10:00
Peter Hutterer
87ff1159b4
dix: deliver device enter/leave events.
2009-03-20 15:17:55 +10:00
Peter Hutterer
04ed0bcb25
xkb: remove Device/Enter leave handling - XI2 enter/leave don't have compat state.
2009-03-20 15:17:55 +10:00
Peter Hutterer
3f37923a72
Xi: send XI2 focus events.
2009-03-20 15:17:55 +10:00
Peter Hutterer
daf7dd3bfe
dix: Add GetWindowXI2Mask helper
2009-03-20 15:17:55 +10:00
Peter Hutterer
8b6a370058
Add XI2 masks and XISelectEvent() request handling.
...
XI2 event masks are simply stored in the OtherEventMasks as a separate field.
This replaces the XiSelectEvent code.
2009-03-20 15:17:55 +10:00