Peter Hutterer
3f801ba62a
xkb: the VCP can post device events, don't stop xkb filtering on it.
2009-03-16 13:29:07 +10:00
Peter Hutterer
23686e5680
xkb: Fix a mis-use of inputInfo.keyboard.
2009-03-16 13:29:07 +10:00
Peter Hutterer
c97c6c3de3
xkb: fix a couple of device checks when looping through all devices.
...
Generally, we want to apply stuff to the device and to all attached slave
devices.
2009-03-16 13:29:07 +10:00
Peter Hutterer
d21a546e96
Xi: VCP and VCK may register for ext. events, so delete them if necessary.
2009-03-16 13:29:07 +10:00
Peter Hutterer
6ec49098f7
render: replace a wrong inputInfo.pointer with pDev
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-16 13:29:07 +10:00
Peter Hutterer
0b2b330f6f
mi: remove a bunch of useless inputInfo.pointer assignments.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-16 13:29:07 +10:00
Peter Hutterer
31301861c1
dix: remove wrong InputInfo.pointer usage - should be pDev instead.
2009-03-16 13:29:07 +10:00
Peter Hutterer
639658b2ea
dix: use GetPairedDevice in ProcQueryPointer rather than inputInfo.keyboard.
2009-03-16 13:29:06 +10:00
Peter Hutterer
f01ee198ff
dix: don't use inputInfo.keyboard to get the focus window in ActivateKbdGrab
...
I'm not sure if that's the right solution, but the other one is wronger.
2009-03-16 13:29:06 +10:00
Peter Hutterer
de415743f4
dix: fix XACE checks in ProcWarpPointer
2009-03-16 13:29:06 +10:00
Peter Hutterer
18430616cf
dix: use PickPointer() and PickKeyboard instead of inputInfo.pointer/keyboard.
...
Affected calls:
ProcChangeKeyboardControl
ProcBell
ProcUngrabKey
ProcUngrabButton
2009-03-16 13:29:06 +10:00
Peter Hutterer
e31727158c
dix: fix ProcChangePointerControl's wrong inputInfo.pointer usage.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-16 13:29:06 +10:00
Adam Jackson
fc5e8dc4a2
Unexport xf86SetPriority
2009-03-13 14:00:37 -04:00
Maarten Maathuis
89d7b88f32
exa: allow exaModifyPixmapHeader to set sys_ptr for EXA_HANDLES_PIXMAPS
...
- exaModifyPixmapHeader would save sys_ptr if needed, but it would be NULL'ed afterwards.
- This is needed to support pixmaps that are not offscreen.
2009-03-13 00:44:48 +01:00
Ander Conselvan de Oliveira
544cd9e7b5
Honour Option "DPMS" "off" on xorg.conf
...
Signed-off-by: James Cloos <cloos@jhcloos.com>
2009-03-12 14:50:59 -04:00
Simon Thum
7abb72c5c7
xfree86: remove obsolete code
...
remove a few lines which redo part of the pointer acceleration
init. Properties is the way to go for them.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-12 11:03:29 +10:00
Peter Hutterer
97cb3cc28e
dix: Merge DevicePresence notify events generation into a single function.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-12 11:03:29 +10:00
Peter Hutterer
7f1ba804a1
dix: s/numEvents/num_events/ in GetKeyboardValuatorEvents
...
GPE and GProxE use the same.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-12 11:03:29 +10:00
Peter Hutterer
067f26f7ba
Xi: set the modifier + group state during POE.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-12 11:03:29 +10:00
Peter Hutterer
da724e8f1d
Xi: Set the button state on the event during POE.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-12 11:03:29 +10:00
Peter Hutterer
b368dd1720
dix: remove a few pointless (void) casts of return values.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-12 11:03:29 +10:00
Matthias Hopf
cadf65a6e1
randr: Nuke broken set_origin shortcut
...
Shortcut is impossible to implement this way, because we don't know for sure
whether the crtc of an output has changed or not.
2009-03-10 15:49:49 +01:00
Eamon Walsh
6544490700
Correct access mode in call to dixLookupWindow() within RRSelectInput.
...
Reported by Alan Coopersmith.
2009-03-09 17:29:24 -04:00
Keith Packard
f8dd80d13b
Replace dixLookupResource by dixLookupResourceBy{Type,Class}
...
dixLookupResource attempted to automatically detect whether the caller
wanted a lookup by-type or by-class, unfortunately, it guessed wrong for
RT_NONE. Instead of trying to make the guess better, this patch just reverts
the unification and creates separate functions for each operation.
2009-03-09 13:08:09 -07:00
Peter Hutterer
0d9a42dc03
Xi: don't crash on a NULL property name, just return None.
...
strcmp doesn't like NULL-pointers.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-09 14:01:54 +10:00
Peter Hutterer
432a95032e
Remove useless (void) typecasts.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-09 14:01:54 +10:00
Peter Ã…strand
f508446a2b
Composite: Uninitialized borderClipX/borderClipY
...
Valgrind warned me about two other uninitialized variables, which are not
padding. Valgrind output at the end. I'm a bit unsure of what these should
be initialized to, is zero fine?
2009-03-06 19:43:10 -08:00
Winfried Grünewald
d1338a9480
[hw/xfree86] Fix StaticGray cmap.
...
Fix this bug report:
,----< from http://bugzilla.freedesktop.org/show_bug.cgi?id=20504 >
| Using the Visual StaticGray (8 bit depth) is missing one gray level.
| The gray level of index zero and index one are the same and all
| other levels are shifted by one. The max level (255) cannot be used.
`----
Signed-off-by: James Cloos <cloos@jhcloos.com>
2009-03-06 12:59:35 -05:00
Alan Coopersmith
eba3bab71f
Remove #ifdef macII code left over from ancient A/UX 3.0 support
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-05 15:09:28 -08:00
Jeremy Huddleston
daa9727a02
XQuartz: Implement SendPSN for AppleWM
...
(cherry picked from commit 779e9fdc2d
)
2009-03-04 13:39:43 -08:00
Maarten Maathuis
ce6e1771be
exa: fix a serious issue in exaChangeWindowAttributes (and some more related things)
...
- fbChangeWindowAttributes can create pixmaps (and access them) without use preparing access.
- Also handle the destroyed pixmaps by finishing them first.
- Switch to DEST indices again in exaCreatePixmapWithPrepare, because they are obviously being rendered to.
- Also avoid calling FinishAccess on pixmaps that are destroyed (and their memory potentially invalid).
2009-03-04 16:51:10 +01:00
Maarten Maathuis
7fb68e8b31
exa: remove a few pExaPixmap checks.
...
- And make some fatal for a debug build.
2009-03-04 16:51:10 +01:00
Maarten Maathuis
bd2f35ef0d
exa: fix unwrapping of ModifyPixmapHeader upon CloseScreen.
...
- Cleanup wrapping too.
2009-03-04 16:51:10 +01:00
Maarten Maathuis
da8ea41a54
exa: increase/rework safety checks in Prepare/FinishAccess.
2009-03-04 16:51:09 +01:00
Maarten Maathuis
3ea3d505e8
exa: avoid a potential Prepare/FinishAccess inbalance.
2009-03-04 16:51:09 +01:00
Maarten Maathuis
10334cf7e6
exa: simplify exaPixmapIsOffscreen
...
- This includes properly handling the framebuffer.
2009-03-04 16:51:09 +01:00
Tomas Carnecky
57bed76e21
Remove dead EXTENSION_PROC_ARGS define
...
Signed-off-by: Tomas Carnecky <tom@dbservice.com>
2009-03-04 10:29:34 -05:00
Tomas Carnecky
a6fb9f4ccf
Remove dead XTest code from extmod
...
Signed-off-by: Tomas Carnecky <tom@dbservice.com>
2009-03-04 10:27:30 -05:00
Topi Kanerva
c4081fee09
Make DGA optional.
2009-03-04 10:23:10 -05:00
Eamon Walsh
c7ebb4bef1
Fix 2 const warnings.
2009-03-03 14:02:36 -05:00
Eric Paris
c7cf926d25
This patch changes all places in the X code to use _raw functions. The
...
X server should never see, translate, or deal with a munged context.
Display managers which show contexts to the user should take care of
translating these to human readable form.
2009-03-03 13:15:39 -05:00
Peter Hutterer
d84a2f855d
xfree86: Add linebreak to two debug statements.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-03 16:53:11 +10:00
Jason Vas Dias
e0ed9f16d0
Fix build with --enable-debug.
...
[amended by Peter Hutterer]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-03 16:53:06 +10:00
Peter Hutterer
6093d3eb1d
dix: fix two compiler warnings (old-style function definition).
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-03 07:07:30 +10:00
Peter Hutterer
b874a5c0aa
mi: only print the "EQ overflowing" error once.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-03 07:07:30 +10:00
Peter Hutterer
a706dd8771
include: add a range of button labels.
...
Mostly the same buttons as defined by linux/input.h, with five exceptions:
"Button Unknown" for a button that cannot be labelled.
"Button Wheel Up", "Button Wheel Down" for buttons 4/5, traditionally the
wheel buttons.
"Button Horiz Wheel Up", "Button Horiz Wheel Down" for buttons 6/7,
traditionally the horiz. wheel buttons.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Daniel Stone <daniel@fooishbar.org>
2009-03-03 07:07:30 +10:00
Adam Jackson
8a6ed44a8b
randr: Fix thinko in xf86TargetPreferred
...
The only-one-output case would only work right if that also happened to
be the zeroth output. Oops.
2009-03-02 14:26:23 -05:00
Maarten Maathuis
7bfad37f77
exa: fixup aux indices and ensure that the indices are used as they should be.
...
- In a previous patch i forgot to add a FALSE somewhere it seems.
- Rename AUX indices so the driver (think of driver managed pixmaps) can do optimisations based upon them.
- Fix one abuse of DEST index now that we have the AUX indices (same reason as above).
2009-02-27 22:26:52 +01:00
Adam Jackson
8c6b4a8276
DDC: Redo extended device probe slightly.
...
We'll now only mention the E-EDID segment register if the device is
actually E-EDID-capable. While we're here, check for DDC/CI and
standard EEPROM support too.
2009-02-27 12:45:19 -05:00
Adam Jackson
b030f858f2
selinux: Don't bother relabeling resources that are being destroyed
...
Makes window destroy about 40x faster in Xvfb.
2009-02-27 12:45:19 -05:00