Julien Cristau
d3d6be4948
mi: Fix infinite loop on regen when swrast_dri.so is missing
...
The swrast DRI provider gets pushed on the glx provider stack at every
server generation, so the stack turns into a circular list on regen.
X.Org bug#18388 <https://bugs.freedesktop.org/show_bug.cgi?id=18388 >
2008-11-07 19:03:32 +01:00
Peter Hutterer
cbc6f98395
xkb: when faking mouse button events, fake them on the correct devices.
...
When MouseKeys are activated, keyboard devices may generate fake mouse button
events through XKB. Let's get then running through the appropriate paths, i.e.
as XI events on the correct device.
To make matters more fun, ProcessOtherEvents drops events if the DIX device
state cannot be updated accordingly, i.e. all button events from keyboard
devices.
Hence we need to get the paired MD for the device in XkbDDXFakeDeviceButton,
and post the event through the paired MD (usually the VCP).
Removes now-unused ddxFakeBtn.c.
Note: this patch only half-arsedly fixed button events, motion events are a
more complicated matter.
2008-11-04 16:04:15 +10:30
Daniel Stone
f4036f6ace
Remove XEvIE
...
It's unmaintained and has been broken for quite a while; MPX finally
smashed it completely.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-11-04 16:01:07 +10:30
Daniel Stone
889a8dc02b
Xi: XINPUT has been mandatory for ages
...
Ditch all #ifdef XINPUT, since it's always built.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-11-04 16:01:07 +10:30
Julien Cristau
4b96ba8ddf
Nuke unused miBankNewSerialNumber
2008-10-26 11:56:35 +01:00
Julien Cristau
30a7a06a9e
Nuke prototype for nonexistent function
...
miDoInitVisuals was removed in commit
94825ad3c7
, but its prototype was left.
2008-10-26 11:44:57 +01:00
Adam Jackson
b736f477f5
mieq: Backtrace when the queue overflows.
...
Since we're probably stuck down in a driver somewhere, let's at least
try to point out where. This will need to be rethought when the input
thread work lands though.
2008-10-10 16:33:57 -04:00
Tiago Vignatti
d1bb5e3b47
mi: functions here are carrying 'time' without need.
2008-10-08 03:41:17 -03:00
Tiago Vignatti
4964a9ca6c
mi: remove deprecated and unused functions.
...
miPointerDeltaCursor, miPointerGetMotionBufferSize and
miPointerSetNewScreen.
2008-10-08 03:41:17 -03:00
Adam Jackson
0b7b89fbac
xalloc+bzero -> xcalloc
2008-10-06 14:19:30 -04:00
Adam Jackson
b72a217ad5
Dangling use of miDestroyGCOps
2008-10-03 18:30:37 -04:00
Adam Jackson
f5bbc54a93
Fix compile for miSetScreenPixmap prototype.
2008-10-03 18:18:02 -04:00
Adam Jackson
9dbfcd8921
Delete unused miModifyBanking()
2008-10-03 17:51:21 -04:00
Adam Jackson
94825ad3c7
Remove unused wrapping for visual initialization.
2008-10-03 17:51:21 -04:00
Adam Jackson
4791f8e2ba
staticize mi{G,S}etScreenPixmap
2008-10-03 17:51:20 -04:00
Adam Jackson
14d98b4a2f
miFindMaxBand is dead code
2008-10-03 17:51:20 -04:00
Adam Jackson
48b4792813
mi{Create,Destroy}GCOps are unused, nuke 'em.
2008-10-03 17:51:20 -04:00
Adam Jackson
bd0e87c747
Remove a bunch of unused API from the mi export list.
2008-10-03 17:51:20 -04:00
Adam Jackson
0ce61e21d6
Remove the Must_have_memory hack.
...
Also remove an astonishing amount of misunderstanding of how casts work.
2008-10-03 17:51:19 -04:00
Jeremy Huddleston
dac9e91870
mieq: Made custom event handlers safer for nevents >1
2008-09-21 17:33:04 -07:00
Keith Packard
03ab8f11d2
When resizing a window with redirected descendents, don't expose them
...
Bit/window gravity computations need to recompute exposures to manage the
bits which are saved by gravity during the resize computation. That's easy
for non-redirected windows where the bits are all within the parent's
pixmap. For redirected windows, we don't need to deal with this at all, so
just skip the whole re-computation adventure.
Signed-off-by: Keith Packard <keithp@keithp.com>
2008-09-19 20:59:40 -07:00
Jeremy Huddleston
47bf269d59
mieq: Fix my broken cherry pick.
2008-09-03 12:54:56 -07:00
Jeremy Huddleston
9e70a3cf58
mieqProcessInputEvents: Check custom event handlers first.
2008-09-03 09:33:39 -07:00
Tomas Carnecky
ebea78cdba
Prepare for array-index based devPrivates.
...
TODO: static indices can be made just an int; some indices
can be combined.
2008-08-28 18:05:40 -04:00
Eamon Walsh
ec7907f8fa
Add an array of integers for use as per-screen cursor private keys.
...
Replaces the use of the screen pointer itself as the key, which was
nice but won't work now that an array index is being stored.
2008-08-27 19:27:13 -04:00
Adam Jackson
af5125968a
Refactor misprite a bit.
...
No variable declarations in header files, please.
2008-08-19 14:47:10 -04:00
Fredrik Höglund
244a635fcd
Fix the tile offset in miPaintWindow for ParentRelative windows.
2008-08-18 19:27:34 +02:00
Adam Jackson
0ce687634f
Eviscerate save-under support.
...
Use a compositing manager already. Plus I really wanted to use 'eviscerate'
in a commit message.
2008-08-13 17:28:08 -04:00
Adam Jackson
63bdd4c27d
Unifdef XIDLE.
...
Seriously how was this still here.
2008-07-31 17:31:36 -04:00
Adam Jackson
f3ff238601
Sync is built-in and mandatory.
2008-07-24 15:46:08 -04:00
Adam Jackson
3fcf4d3eb8
XC-MISC is built-in and mandatory.
2008-07-24 15:46:08 -04:00
Adam Jackson
f65c50c4e9
Bigreqs are built-in and mandatory.
2008-07-24 15:46:08 -04:00
Adam Jackson
d6228cb22a
Shape extension is built-in and mandatory.
2008-07-24 15:46:08 -04:00
Adam Jackson
856db05b58
Unifdef sgi.
2008-07-23 13:37:42 -04:00
Adam Jackson
0ff5bc4048
Unifdef QNX.
...
Again, hasn't worked since at least 7.0.
2008-07-23 10:44:34 -04:00
Adam Jackson
0b45ba488d
Drop the FONTCACHE extension.
...
This appears to have been dead code since X-TT was merged.
2008-07-18 10:54:10 -04:00
Daniel Stone
55644d2f1c
Make --enable-debug usable again
...
Enable region debugging causes assertion failures (should really look
into that, though), and I don't need four messages every time I move my
pointer.
2008-07-16 14:23:34 +03:00
Daniel Stone
22e64108ec
XFree86: Remove XFree86-Misc extension
...
Its last remaining purpose in life has been destroyed by input
properties. Au revoir: it's been fun, by which I mean awful.
2008-07-16 06:25:26 +03:00
Tiago Vignatti
d78bebb20a
Remove unused function and variables.
2008-07-04 04:04:19 -03:00
Tiago Vignatti
3164288b12
Remove deprecated function miPointerPosition().
2008-07-04 03:55:59 -03:00
Adam Jackson
cbc20d92de
XTrap delenda est.
2008-06-25 09:52:36 -04:00
Adam Jackson
9719354ae0
Check for __amd64__, not __x86_64__.
...
Spiritual revert of 1fa4de80fc
. Intel's C
compiler claims to be gcc-compatible; if they're not defining the same
macros as gcc then that's their bug, not ours. Even if we were to do
this aliasing we should do it once and for all in servermd.h.
2008-06-24 14:37:06 -04:00
Peter Hutterer
4f3ed54dc9
mi: remove trailing whitespaces from misprite.c
2008-06-18 10:07:37 +09:30
Eamon Walsh
9d871e19c9
Fix "warning: unused variable ‘pDev’, `pPointer'".
2008-06-13 21:35:29 -04:00
Tiago Vignatti
881e551de9
CopyGetMasterEvent() can be static.
2008-06-11 18:03:33 -03:00
Tiago Vignatti
656949cbe2
Remove more unused things.
...
In function ‘miSpriteCloseScreen’:
warning: unused variable ‘pDev’
2008-06-11 17:57:19 -03:00
Peter Hutterer
ea6a02c048
mi: protect mipointrst.h against multiple includes.
2008-06-11 17:24:19 +09:30
Peter Hutterer
a7d4bec884
mi: remove leftover old license comment.
2008-06-08 23:28:28 +09:30
Julien Cristau
782394fe53
mi: Fix typo in comments about deprecated functions
2008-06-06 12:10:35 +02:00
Peter Hutterer
d25ffcfbfc
mi: protect against possible NULL-pointer dereference.
2008-06-05 16:14:34 +09:30