Dodji Seketeli
81692b628f
Fix #12650 : "windows not receiving mouse events in multiple screens context"
...
* dix/events.c, include/dix.h:
(UpdateSpriteForScreen): added this to update the mouse sprite context
when we switch from a pScreen to another.
* mi/mipointer.c:
(miPointerWarpCursor): as we are switching to a new pScreen,
don't forget to update the mouse sprite context.
2007-10-02 13:48:48 +02:00
Dave Airlie
dc90d50008
exa: increase minor version number for pixmap allocation hooks
2007-10-02 14:05:07 +10:00
Kristian Høgsberg
f15af2ae60
exa: only setup offscreen allocator if driver doesn't provide CreatePixmap
2007-10-02 14:03:48 +10:00
Dave Airlie
ffb58f4fa8
exa: add hooks for drivers to take over pixmap allocation
...
This adds hooks for the driver to access Create/DestroyPixmap and ModifyPixmapHe
ader.
It allocates a 0 sized pixmap using fb and calls the driver routine to do
work of allocating the actual memory.
ModifyPixmapHeader is mainly required for hooking the screen pixmap which
isn't create by normal methods
2007-10-02 14:03:39 +10:00
Dave Airlie
31555af000
exa: add a pixmap private pointer for drivers to retrieve.
2007-10-02 13:57:55 +10:00
Alan Coopersmith
2d93e69690
Rework local client id finding code to be more uniform
2007-09-27 16:47:32 -07:00
Alan Coopersmith
c7ead3a68e
xorgcfg needs $(DIX_CFLAGS) for pixman-1 include path
2007-09-27 16:47:32 -07:00
Alan Coopersmith
62a9fb4cda
Fix PCI rework build on Solaris (copy what BSD does)
2007-09-27 16:47:32 -07:00
Tilman Sauerbeck
cfe549d1ba
EXA: Added back the maxPitchPixels initialization code.
...
This doesn't add real value yet, but it will be useful once I add code
that splits large render operations into smaller parts if necessary.
2007-09-27 22:36:52 +02:00
Alan Hourihane
c11a27ef85
Add the FB_ACCESS_WRAPPER checks
2007-09-27 14:55:40 +01:00
Alan Hourihane
e0bb33b3d2
Fix bug #12286
2007-09-27 14:55:40 +01:00
Michel Dänzer
6d5c1e0d89
EXA: Remove bogus pitch checks.
...
exaCreatePixmap should handle all cases correctly.
2007-09-27 13:35:23 +02:00
Michel Dänzer
598698678b
EXA: Punt for all fallbacks in exaFillRegion*.
...
Now that PaintWindow is gone, all callers already handle fallbacks.
2007-09-27 13:33:52 +02:00
Michel Dänzer
006f652505
EXA: Make sure tile offsets passed to drivers are never negative.
...
Thanks to Björn Steinbrink for pointing out the problem on IRC.
2007-09-27 13:30:58 +02:00
Michel Dänzer
da7d9aa1fb
EXA: Tile offscreen pixmap coordinate offsets are always 0.
2007-09-27 13:30:48 +02:00
Michel Dänzer
d6f4764bf5
EXA: Remove some clearly bogus code from exaCopyNtoN.
...
Not sure what I was thinking when I wrote this... it would cause the box
coordinates to be off for exaCopyNtoNTwoDir or fallbacks.
Thanks to Tilman Sauerbeck for pointing out the problem on IRC and testing the
fix.
2007-09-27 13:29:07 +02:00
Michel Dänzer
c7d6d1f589
EXA: Punt on fallback case not handled correctly in exaFillRegionTiled.
...
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=12520 .
2007-09-27 13:20:45 +02:00
Alan Coopersmith
1d938a80fd
Remove unused pciAddrHostToBus functions from ix86Pci.c
...
Matches linuxPci.c changes made in 8279444a54
Fixes compiler errors:
"ix86Pci.c", line 194: too many struct/union initializers
"ix86Pci.c", line 204: too many struct/union initializers
"ix86Pci.c", line 214: too many struct/union initializers
2007-09-26 19:42:46 -07:00
Eamon Walsh
3b114f2603
Input: Properly swap DevicePresenceNotify events.
2007-09-26 07:26:59 -04:00
Eamon Walsh
31a7994ac7
Input: Return errors to the dispatcher instead of sending them ourself.
...
Also fixed two "unused variable: stuff" warnings.
2007-09-26 07:26:59 -04:00
Tilman Sauerbeck
56ffc381d3
EXA: Removed duplicated exaGetDrawablePixmap() calls.
2007-09-26 16:52:27 +02:00
Dodji Seketeli
aa0325db7e
Xephyr: fix compiler warnings
...
* hw/kdrive/ephyr/ephyr_draw.c:
(ephyrDownloadFromScreen),
(ephyrUploadToScreen): fix compiler warnings
2007-09-26 15:26:42 +02:00
Tilman Sauerbeck
ae8b4f7dcf
EXA: Added pitch limitations.
...
Drivers can now specify the max pitches that the accelerator supports.
2007-09-25 16:43:06 +02:00
Eric Anholt
988f446fe0
[EDID] Ignore reserved bits in deciding monitor vs detailed timing descriptor.
...
Even though they're defined to zero by the spec, we've seen an EDID block
where the (empty) ASCII strings were stuffed in a byte early, leading to the
descriptor being considered a detailed timing instead.
2007-09-24 20:26:31 -07:00
Daniel Stone
27ad5d74c2
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.
2007-09-23 17:17:20 +03:00
Daniel Stone
0e800ca465
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.
2007-09-23 12:43:31 +03:00
Alex Deucher
e1860f241b
Document xf86_crtc_clip_video_helper better.
2007-09-22 17:54:51 -04:00
Alex Deucher
19d30c1c77
Revert "Fix possible crash if Xv window is outside of either crtc"
...
This reverts commit 9235531410
.
This changes ABI. False means there was a memory failure of some kind,
not that the video shouldn't be displayed
2007-09-22 17:51:27 -04:00
Michel Dänzer
9235531410
Fix possible crash if Xv window is outside of either crtc
2007-09-22 14:25:02 -04:00
Tilman Sauerbeck
edd8817083
EXA: Check ABI compatibility earlier.
...
If the driver isn't compatible to the server, all bets are off anyway wrt
the contents of the fields that we're validating, which can lead to bogus
error messages.
2007-09-22 13:52:56 +02:00
Ben Byer
abe0a51f3f
So, like, checking return codes of system calls (signal, etc) is good.
...
Also, only restore an old signal handler if one was actually set
(prevents the server from dying on OS X).
2007-09-21 17:07:36 -07:00
Ben Byer
eb82b19aa7
XDarwin: build fix for X11.app
2007-09-20 19:55:48 -07:00
Ben Byer
5b08932bfb
XDarwin: pulling in Indirect GLX fixes from downstream
2007-09-20 19:27:31 -07:00
Ben Byer
742d5d6adc
XDarwin: Fixes to quartzKeyboard.c to prevent a crash using certain non-US keyboards
2007-09-20 18:03:51 -07:00
Ben Byer
374bd88d10
XDarwin: Merging misc changes from downstream.
...
The only functional changes in this patch are a removal of use of
Xtrans internals -- replaced by xcb, which doesn't seem to be used
elsewhere in the server? Pity.
Also, a fix to make all X11 windows pop to the front of the display
when the X11.app icon is clicked -- currently takes two clicks,
not sure why.
2007-09-20 16:51:06 -07:00
Aaron Plattner
3a965fdadc
Don't segfault on shutdown if we never managed to connect to dbus.
2007-09-20 16:22:24 -07:00
Aaron Plattner
50fa8722d3
Set noCompositeExtension to TRUE when failing to initialize the extension (e.g. when Xinerama is enabled).
2007-09-20 14:00:33 -07:00
Ben Byer
c140d20f4a
XDarwin: mass change from using xorg-config.h to dix-config.h cuz we're not using the X.org ddx anymore
2007-09-19 05:58:22 -07:00
Ben Byer
bcb5e3e627
XDARWIN: More fixes to Makefile.am
...
At least on my system (10.5 with the latest and greatest modules),
Xquartz now builds out of the box. It doesn't quite work yet, but
hey -- you have to start somewhere. ;)
2007-09-19 04:46:10 -07:00
Ben Byer
5e209b21f3
XNEST: removed obsolete hack to build under Darwin
2007-09-19 03:44:46 -07:00
Ben Byer
378c7ebef4
XVFB: Removed obsolete hack to build on Darwin
2007-09-19 03:43:40 -07:00
Ben Byer
7813392d1c
XDarwin: changes to Makefile.am to use new conditionals
2007-09-19 01:53:18 -07:00
Dodji Seketeli
170fc77d9e
xserver: don't force DTRACE detection by default
...
this fixes a breakage caused by 7a4ec34e25
.
When running a non DTRACE aware system that is not darwin*, DTRACE was getting
required. Now it is not anymore.
2007-09-19 09:54:09 +02:00
Ben Byer
9b4f515717
XDarwin: We build many many different targets, let's break them out into autoconf conditionals
2007-09-18 21:40:32 -07:00
Ben Byer
7a4ec34e25
XDarwin: Disable dtrace support on Darwin 9 (since it doesn't work ... yet ...)
2007-09-18 20:37:09 -07:00
Ben Byer
3c19ec47b4
XDarwin: changed XF86BigFont support default from yes to auto so XDarwin can disable it
2007-09-18 20:15:44 -07:00
Michel Dänzer
547ad2125e
EXA: Make sure driver hooks get correct offscreen offsets from exaCopyDirty.
...
This should ensure the driver UploadTo/DownloadFromScreen hooks can always
work as intended.
2007-09-17 20:40:13 +02:00
Alan Hourihane
56cc24ffb2
EXA: Don't crash in ExaCheckPolyArc.
...
See https://bugs.freedesktop.org/show_bug.cgi?id=12286 .
2007-09-17 20:40:06 +02:00
Michel Dänzer
7ac89060e0
EXA: Don't crash in exaGetImage when swapped out.
2007-09-17 20:39:59 +02:00
Tilman Sauerbeck
3876c6c805
EXA: Fixed compiler warnings.
2007-09-17 18:47:45 +02:00