Peter Hutterer
dcdc66fcfc
dix: add mi.h include to stop compiler warning
2008-04-25 14:30:06 +09:30
Peter Hutterer
97552413d2
dix: remove "unused variable" compiler warning.
2008-04-25 14:29:46 +09:30
Peter Hutterer
d9c38e84cc
dix: remove pairingClient definition.
...
This variable was used originally to determine which client is allowed to
change the pointer-keyboard pairing. For now, we just let anyone change it and
see how that works out.
2008-04-25 14:29:26 +09:30
Peter Hutterer
c14b858aec
Xi: fix two compiler warnings
...
unused variable in exevents.c
implicit declaration in warpdevp.c
2008-04-25 14:29:05 +09:30
Peter Hutterer
6015b7a812
Xi: handle requests through a dispatch handler.
...
Same principle as e.g. in the RandR extension, rather than having a load of
if (type == XI_whatever)
use an array of function pointers.
2008-04-25 14:28:45 +09:30
Peter Hutterer
cb8cb87bc6
Xi: remove unused #define DISPATCH
2008-04-25 14:28:25 +09:30
Jeremy Huddleston
5869e3f555
darwin gots /dev/urandom, too yo!
...
(cherry picked from commit bf0144f380
)
2008-04-24 19:54:57 -07:00
Alan Coopersmith
b1ae7c79db
Bug 14247: If pkg-config can't find openssl.pc, just link with -lcrypto
...
X.Org bugzilla #14247 <http://bugs.freedesktop.org/show_bug.cgi?id=14247 >
2008-04-24 19:02:43 -07:00
Jeremy Huddleston
1daae4574c
Added missing HAVE_LAUNCHD to dix-config.h.in
...
(cherry picked from commit 1b4b73cefb
)
2008-04-24 18:25:37 -07:00
Jeremy Huddleston
63853e4ad2
XQuartz: Compile in missing glx source that we still need
...
(cherry picked from commit c611335dee
)
2008-04-24 18:24:46 -07:00
Dave Airlie
ae982a27e4
glx: test for valid read and draw privates before using them
...
this should fix a bug where f-spot exiting blows up the X server
2008-04-24 16:37:29 +10:00
Peter Hutterer
f377141912
Xi: don't attempt to send to a NULL window.
...
Only applicable when the server comes down/restarts. In this case,
WindowTable[i] may be NULL. Let's not try to send an event then.
2008-04-24 14:19:28 +09:30
Peter Hutterer
aec485f2dc
dix: NULL out WindowTable after freeing all the windows.
...
CloseDownDevices() tries to send PresenceNotify events. If the windows are
already freed, then we are accessing dangling pointers.
2008-04-24 14:19:28 +09:30
Peter Hutterer
9ab4e2fd8e
xfree86: don't free the config-file related information in DIDR. #15645
...
In DeleteInputDeviceRequest, leave the conf_idev (which is shared with
xf86ConfigLayout.input) alone for devices that were specified in the
ServerLayout section of the config file. This way, in the next server
generation we are left with what was the original config and can thus re-init
the devices.
This is an addon to 6d22a9615a
, an attempt to
fix Bug 14418.
X.Org Bug 15645 <https://bugs.freedesktop.org/show_bug.cgi?id=15645 >
X.Org Bug 14418 <https://bugs.freedesktop.org/show_bug.cgi?id=15645 >
2008-04-24 14:19:28 +09:30
Peter Hutterer
7dc40c8eca
xfree86: Don't free master devices.
...
The previous check works in the master-branch, but doesn't work with MPX. We
actually copy the SD's information into the MDs public.devicePrivate, so we
need to explicitly check whether a device is a MD before freeing the module.
2008-04-24 12:47:29 +09:30
Peter Hutterer
cc13f87cd8
Xext: XGE: change function definition to have return value on separate line.
...
This seems to be the common style in most parts of the server.
2008-04-24 11:43:47 +09:30
Peter Hutterer
d0890c40b9
Xext: add a few lines of comments to XGE.
2008-04-24 11:32:36 +09:30
Peter Hutterer
745b90cde1
Xext: re-do the XGE versioning handling.
...
Basically the same approach RandR takes. Remember which one the client
requested, send back the one the server supports. Also divide XGE server
version (now defined in geext.c) and the client's version (still in the
protocol definition).
2008-04-24 11:27:22 +09:30
Peter Hutterer
5f3e5b3462
Xext: remove trailing whitespaces in geext.{c|h}
2008-04-24 11:14:43 +09:30
Jeremy Huddleston
d09c520b32
Moved Apple GL bits into our DDX subtree
...
(cherry picked from commit c9356f3289
)
2008-04-23 10:22:34 -07:00
Jeremy Huddleston
b05b416c62
XQuartz: No need to include indirect.c a second time
...
(cherry picked from commit 41ed532525
)
2008-04-23 10:17:13 -07:00
Ben Byer
565492c70a
xquartz: build fixes for GLX/DRI2 fallout (note: not guaranteed)
...
(cherry picked from commit 85a5796b66
)
2008-04-23 10:17:07 -07:00
Ben Byer
6f6505db51
glx / xquartz: we still need glxcontentmodes.[ch] kthx
...
(cherry picked from commit 27545fd37f
)
2008-04-23 10:17:02 -07:00
Ben Byer
4e3a8af575
xquartz: clean up linker line for main binary
...
(cherry picked from commit 821d7400f2
)
2008-04-23 10:16:55 -07:00
Ben Byer
3685b171da
xquartz: remove vestigial aglGlx.c
...
(cherry picked from commit 40bd041e42
)
2008-04-23 10:16:46 -07:00
Hans de Goede
f6e22d69af
Prefer glxvisuals with stencil buffer for default visuals
...
The first fbconfig which has a depthbuffer > 0 and doublebuf is choosen
when associating fbconfigs with the visuals, indepenent of stencil bits.
This happens to work ok on intel as there all fbconfigs with a
depthbuffer > 0 also have stencil bits.
This patch fixes this by first trying to get a fbconfig for default X visuals
with both stencilbuf, depthbuf and doublebuffering, and if that fails fallback
to trying to get one with only a depthbuf and doublebuffering.
2008-04-23 12:28:30 -04:00
George Sapountzis
00effad583
xephyr: XEPHYR_DRI is identical to XF86DRI
2008-04-23 18:11:56 +03:00
George Sapountzis
6a9f7f28ec
xephyr: sync with mesa
2008-04-23 18:11:56 +03:00
George Sapountzis
7ffc68c5cc
xephyr: libGL is client lib
2008-04-23 18:11:56 +03:00
George Sapountzis
a27c244d72
xephyr: Makefile cleanup 2
2008-04-23 18:11:56 +03:00
George Sapountzis
d4d19b2f22
xephyr: Makefile cleanup 1
2008-04-23 18:11:56 +03:00
George Sapountzis
cdc4571b58
drop TOGCUP remnants
2008-04-23 18:11:56 +03:00
George Sapountzis
6cd9287aed
drop EVI remnants
2008-04-23 18:11:56 +03:00
George Sapountzis
a88c6b6646
glcore: drop GLcore (files)
2008-04-23 18:11:55 +03:00
George Sapountzis
dd7a53f8f2
glcore: drop GLcore (build system)
2008-04-23 18:11:55 +03:00
George Sapountzis
567d389d47
glcore: build from mesa, dlopen from xorg
...
* The GLcore interface is disposable
* GLcore is installed in DRI_DRIVER_INSTALL_DIR which is overloaded for
GLX_PROVIDER_INSTALL_DIR
2008-04-23 18:11:55 +03:00
George Sapountzis
efb723e166
glcore: prepare for dynamic loading
...
glcore gets linked with -ldl, -lpthread for s3tc and glapi
xserver needs
DLOPEN_LIBS - to dlopen the glcore dso
LD_EXPORT_SYMBOLS_FLAG - to export symbols for glcore to use
the ld flag is added to kdrive only when GLX is enabled, the net overhead for
Xephyr is ~155KB, could be reduced with --dynamic-list.
2008-04-23 18:11:55 +03:00
Julien Cristau
fbad87f2ae
autoconfig: don't call closedir() when opendir() failed
...
If opendir() fails, return from matchDriverFromFiles() immediately.
Ubuntu bug 217647.
2008-04-23 14:59:24 +02:00
Jeremy Huddleston
76381092e8
XQuartz: Make sure QuartzAudioInit() gets run.
...
(cherry picked from commit bb3d034675
)
(cherry picked from commit 824b31c7f8
)
2008-04-23 02:22:28 -07:00
Peter Hutterer
275cdc1c74
xfree86: pass correct value to mieqEnqueue (merge detritus I guess)
2008-04-23 16:16:15 +09:30
Peter Hutterer
c3659cb414
dix: always send FocusIn events if mode is NotifyUngrab.
...
In the case of a NotifyUngrab, the flag for the device may already be set but
we still need to send the FocusIn event.
2008-04-23 14:22:21 +09:30
Julien Cristau
00815b3e52
Don't set DRI2=yes if we can't find dri2proto or libdrm
2008-04-22 23:35:55 +02:00
Ross Burton
e77f65768e
Reuse the existing framebuffer mode in kdrive/fbdev
...
When starting up kdrive/fbdev, if the current framebuffer mode is sensible use
that unless told otherwise.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2008-04-22 18:07:46 +01:00
Ross Burton
c4fd112153
Add mediumraw support to the linux kdrive driver
...
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2008-04-22 18:05:53 +01:00
Ross Burton
455383db95
Enable the epson kdrive driver
...
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2008-04-22 18:04:31 +01:00
Ross Burton
82b37d35af
Add support for AVR32
2008-04-22 16:38:14 +01:00
Ross Burton
20a90bef8b
Add a default touchscreen path
...
When enabling the touchscreen, open /dev/input/touchscreen0 if no path was
specified.
2008-04-22 16:37:02 +01:00
Ross Burton
b44e89f468
Update to tslib 1.0
...
Update the pkgconfig checks to tslib 1.0, and fix the LIBS definitions.
2008-04-22 16:28:39 +01:00
Ross Burton
3848422d23
Fix build when XKB is disabled.
2008-04-22 16:25:23 +01:00
Ben Byer
744d0cfda7
add missing DARWIN_GLX_LIBS in configure.ac
...
(cherry picked from commit a033c0b3db
)
2008-04-22 01:40:05 -07:00