Peter Hutterer
f1f8b562aa
Alloc sprite memory in devices' devPrivates, allow undisplaying cursors.
...
Improve memory usage by allocating the sprite's memory only to devices that
actually have a sprite and provide means to remove a device's cursor from the
screen (more hotplugging, yay!).
This commit breaks ScreenRec's ABI.
2007-04-09 19:31:59 +09:30
Peter Hutterer
7cef789fa1
Close down virtual core devices when closing all devices.
2007-04-09 18:37:48 +09:30
Peter Hutterer
6081b8c76f
Don't explicitly init sprite for VCP, EnableDevice() will take care of that.
2007-04-09 18:35:47 +09:30
Peter Hutterer
00b1d52f41
Adding some comments to devices.c.
2007-04-09 18:32:00 +09:30
Peter Hutterer
aa77ffb510
Fix: pick new ClientPointer when device is closed.
2007-04-09 18:29:00 +09:30
Daniel Stone
4beeab8424
XFree86: Treat evdev and vmmouse as mouse drivers (bug #10512 , #10559 )
...
When we see an evdev or vmmouse section, assume that it's a mouse, and
don't add a default mouse device. This will break users who have an
evdev keyboard section but no mouse, and want the mouse to get added
by default.
2007-04-08 13:39:06 +03:00
Brian
0a6ac99236
regenerated to fix bug 10371
2007-04-07 12:42:29 -06:00
George Sapountzis
7e38559861
GLcore: fix after moving xf86glx_util.[hc] to Mesa.
2007-04-06 13:38:12 +03:00
George Sapountzis
5a804f2e97
configure: minor cosmetic, move GLX extension options together.
2007-04-05 19:14:31 +03:00
George Sapountzis
a4e2fc7034
glx: Remove stray __GLinterface.
...
__GLinterface was droped from glcore.h
2007-04-05 19:13:47 +03:00
George Sapountzis
38ca7d388c
glx: fix symlink, glcontextmodes.c was moved to mesa/src/glx/
2007-04-05 19:13:14 +03:00
Peter Hutterer
5c4deb71a1
Synthesize WarpPointer events for the actual device rather than the VCP.
2007-04-05 14:21:46 +09:30
Thomas Hellstrom
f8482967ae
Add an EXA driver callback to determine whether a pixmap is
...
"offscreen" in exa terms, which means accessible to the GPU.
Bump exa minor. The change is backwards-compatible.
2007-04-04 14:04:52 +02:00
Peter Hutterer
7f36ba5706
Allow for multiple animated cursors.
2007-04-04 17:38:10 +09:30
Peter Hutterer
676188531b
Unrealize cursor only once, not per device.
2007-04-04 17:35:06 +09:30
Aaron Plattner
c10df5b967
Swap RRScreenChangeNotifyEvent dimensions when the screen has one crtc and it's rotated.
...
RandR 1.1 clients expect the size fields in this event to be the unrotated
dimensions of the screen. This behavior is "weird", but that's the way the old
code worked so we need to be bug-compatible with it.
2007-04-03 16:09:04 -07:00
Brian
e1dea151db
Implement a minor hack in dmxCheckFunctionKeys() to detect special keys.
...
Keep track of status of (left) alt/ctrl keys so that ctrl-alt-q to exit
can be detected. Not ideal, but works for now.
2007-04-03 11:21:50 -06:00
Brian
0ee40c9357
s/intead/instead/
2007-04-03 09:31:00 -06:00
Brian
23974f20bf
add DDXRingBell() stub to solve link problem
2007-04-03 09:30:24 -06:00
Brian
a240c039c4
Split the xserver/fb/fbcmap.c file into two files.
...
Now, fbcmap_mi.c contains the fb functions which just wrap mi functions.
Previously, these were in fbcmap.c and compiled when XFree86Server was defined.
Now, clients of fbcmap should either use fbcmap.c or fbcmap_mi.c and not worry
about setting the XFree86Server symbol.
2007-04-03 09:28:21 -06:00
Matthieu Herrb
1cc8db7281
Merge branch 'master' of ssh://herrb@git.freedesktop.org/git/xorg/xserver
2007-04-03 16:04:45 +02:00
Matthieu Herrb
645d87cf8e
CVE-2007-1003: XC-MISC Extension ProcXCMiscGetXIDList() Memory Corruption
2007-04-03 15:47:18 +02:00
Peter Hutterer
207f710d16
Delete all grabs from all devices when deleting a window.
2007-04-03 19:02:14 +09:30
Peter Hutterer
5f382c9c7f
Merge branch 'master' into mpx
2007-04-03 15:07:18 +09:30
Peter Hutterer
f09ee168e2
Revert "o fix minor error in comment for GetPointerEvents()"
...
This reverts commit 96ce17aa94
.
2007-04-03 15:07:00 +09:30
Peter Hutterer
9b0b340668
Make GrabDevice differ between core grabs and device grabs.
2007-04-03 15:06:26 +09:30
Keith Packard
a39f297ada
Don't erase current crtc for outputs on CloseScreen
...
Erasing this variable causes some outputs (SDVO on intel) to fail
to be correctly reset at server reset time.
(cherry picked from commit 56262a4ee9
)
2007-04-02 19:12:44 -07:00
Eric Anholt
11797ffdcc
Move modes/ debugging output under Option "ModeDebug" in the Device section.
2007-04-02 18:21:58 -07:00
Brian
e44f106ffc
clean-up, debug code
2007-04-02 16:26:15 -06:00
Brian
8d8bc89277
fix formatting
2007-04-02 16:21:57 -06:00
Brian
3e482de7b1
checkpoint: more clean-up
2007-04-02 15:38:15 -06:00
Brian
76a7a5ca1f
formatting fixes
2007-04-02 15:24:05 -06:00
Brian
69baad321d
clean-up dmxCoreMotion() dmxCoreMotion2()
2007-04-02 15:21:22 -06:00
Brian
44eb15adee
checkpoint clean-up
2007-04-02 15:12:04 -06:00
Brian
0f873a9d4f
remove some debug code
2007-04-02 14:51:38 -06:00
Brian
3a0ce1084a
for completeness, init dummy's min/maxval[1] values (vertical axis)
2007-04-02 14:51:21 -06:00
Brian
12016f20f7
As for normal mouse device, init valuator maxval[] to real values, not zero.
2007-04-02 14:50:48 -06:00
Brian
0aaf28e563
In dmxBackendMouGetInfo() initialize the info->minval[], maxval[] arrays to the size of the backend display.
...
It seems that the changes to X input exposed a problem that wasn't detected
before. The axis clipping code in GetPointerEvents() uses those limits to
constrain the pointer's coordinate range. The max was zero so the pointer
couldn't move.
2007-04-02 12:41:30 -06:00
Brian
0013bf6ddb
undo 1280 valuator hack
2007-04-02 12:39:04 -06:00
Brian
08a88d1803
Pass num_valuators=0 for ButtonPress/Release. This seems to fix the button coordinate problem
2007-04-02 12:29:37 -06:00
Brian
70683e338d
formatting fixes
2007-04-02 12:29:37 -06:00
Peter Hutterer
e8777a91f3
Merge branch 'master' into mpx
...
Conflicts:
Xi/closedev.c
Xi/exevents.c
Xi/extinit.c
Xi/listdev.c
dix/window.c
hw/xfree86/common/xf86Xinput.c
include/extinit.h
mi/mipointer.c
2007-04-02 15:36:26 +09:30
Peter Hutterer
96ce17aa94
o fix minor error in comment for GetPointerEvents()
2007-04-02 11:30:47 +09:30
Peter Hutterer
a12054757d
Xi: fix ProcXListInputDevices to include the virtual core devices.
2007-04-02 11:20:44 +09:30
Alberto Mardegan
f2808005f4
Bug #6620 : Fixed a missing 'else' in ATIPseudoDMAInit().
...
Before this, we'd write some registers twice on R200 hardware and also
possibly end up with a bad value in atis->cce_pri_size.
2007-03-31 16:51:24 +02:00
Aaron Plattner
5257b32e49
Bump video driver ABI to 2.0 for cw change (commit 6ed08949af
).
2007-03-30 17:07:44 -07:00
Brian
73fdc16bc4
formatting fixes
2007-03-30 16:07:26 -06:00
Brian
ebdc8ce5c1
Checkpoint DMX updates: things are working much better now, but still not 100% right.
...
Use new dmxCoreMotion2() function which enqueues motion events with
GetPointerEvents()/mieqEnqueue().
The clipAxis() code in GetPointerEvents() is causing some grief. The
limits seem to have always been (0,0) according to the original calls
to InitValuatorAxisStruct() in dmxinputinit.c.
Terrible hack for now: Call InitValuatorAxisStruct() with hard-coded max
values of 1280 (my screen width).
2007-03-30 16:05:46 -06:00
Brian
3c7413e0c2
Tweak some parameters, etc. Things seem a little better now, but still a ways to go.
2007-03-30 14:07:04 -06:00
Brian
7989dacdcb
num_valuators=1 for GetPointerEvents(), hack ButtonPress/Release position
2007-03-30 13:44:24 -06:00