Commit graph

3434 commits

Author SHA1 Message Date
David Reveman
efbfefb735 Add proper screen compare code. 2008-10-30 03:36:52 -04:00
David Reveman
8c4a73f196 Remove default -screen argument. 2008-10-30 03:36:52 -04:00
David Reveman
03a4b57a7f Fix return status for dmx examples and have dmxaddscreen print the attachment screen number. 2008-10-30 03:36:52 -04:00
David Reveman
d1a66517c4 Ignore vtXX arguments. 2008-10-30 03:36:52 -04:00
David Reveman
5a38f35d7d Use /var/X11R6/bin/Xbackend as default back-end server. 2008-10-30 03:36:51 -04:00
David Reveman
4e5380077b Check for RANDR 1.2 properly. 2008-10-30 03:36:51 -04:00
David Reveman
8a53e14edf Terminate any automatically launched back-end servers. 2008-10-30 03:36:51 -04:00
David Reveman
46d40a6599 Properly handle back-end servers with more outputs or crtcs than supported by dmx. 2008-10-30 03:36:50 -04:00
David Reveman
50ee0897c9 Implement dmxPushPixels. 2008-10-30 03:36:50 -04:00
David Reveman
162a060f4c Improved RANDR support. 2008-10-30 03:36:50 -04:00
David Reveman
ccaf6779fe Missing header changes. 2008-10-30 03:36:49 -04:00
David Reveman
84ca6e4b39 Clear list of events to ignore when detaching screen. 2008-10-30 03:36:49 -04:00
David Reveman
01374f5eaf Ignore expose events from shape requests. 2008-10-30 03:36:49 -04:00
David Reveman
6e4a5acf6e Ignore expose events from configure requests. 2008-10-30 03:36:48 -04:00
David Reveman
f149aa8858 Ignore expose events for map and unmap requests. 2008-10-30 03:36:48 -04:00
David Reveman
3b5f1a76a4 Make it possible to ignore back-end server Expose events. 2008-10-30 03:36:48 -04:00
David Reveman
f14ec79b25 Handle back-end server expose events properly. 2008-10-30 03:36:47 -04:00
David Reveman
f8454fe814 Use relative display offset. 2008-10-30 03:36:47 -04:00
David Reveman
1c6f660c60 Make number of RANDR outputs and crtcs for each back-end display configurable. 2008-10-30 03:36:47 -04:00
David Reveman
01a5072e32 Get outputs and crtcs of first screen from backend server. 2008-10-30 03:36:46 -04:00
David Reveman
36ce2d04b6 Proper RANDR 1.2 support. 2008-10-30 03:36:46 -04:00
David Reveman
0cbb34003d Add per screen XAUTHORITY setting. 2008-10-30 03:36:46 -04:00
David Reveman
5a79ce5659 Attach to first available screen when screen number is
greater than screen count.
2008-10-30 03:36:45 -04:00
David Reveman
d664477898 Set name to empty string after detaching back-end server. 2008-10-30 03:36:45 -04:00
David Reveman
fffe2edd22 Don't print warning meessage if display is empty string. 2008-10-30 03:36:44 -04:00
David Reveman
7162aa6a50 Use subdivision optimization by default. 2008-10-30 03:36:44 -04:00
David Reveman
e21420c786 Remove empty GC functions. 2008-10-30 03:36:43 -04:00
David Reveman
5c716452ef More nomad defaults. 2008-10-30 03:36:43 -04:00
David Reveman
569549d24e Add -terminate to arguments for default back-end server. 2008-10-30 03:36:43 -04:00
David Reveman
d19dd33619 Call wrapped CreateWindow function. 2008-10-30 03:36:42 -04:00
David Reveman
75c4bd8288 Redirect window before mapping it. 2008-10-30 03:36:42 -04:00
David Reveman
309d49e54a Nomad defaults for DMX server. 2008-10-30 03:36:41 -04:00
David Reveman
2bda1f5610 Nomad DMX work. 2008-10-30 03:36:41 -04:00
Peter Hutterer
4ce19b4477 xfree86: fix xf86ScaleAxis once again.
Maybe one day I stop doing stupid patches like
a3a7c12fcf.

So, if X < low, reset to low, and _not_ to high.
If X > high, reset to high, and _not_ to low.
2008-10-30 16:59:43 +10:30
Jeremy Huddleston
f12d7ad164 XQuartz: Pass along SIGINT and SIGTERM from the stub to X11.app
(cherry picked from commit 183ca5d68b)
2008-10-28 22:01:40 -07:00
George Peter Staplin
273df54685 XQuartz: pbproxy: Fix a bug that prevented nedit CLIPBOARD from being proxied.
It seems that we were calling copy_completed: too soon.  Now we return instead
of falling through to the free_propdata, and copy_completed:.
(cherry picked from commit 5797d5b662)
2008-10-28 22:01:34 -07:00
George Peter Staplin
313d87341a XQuartz: pbproxy: Work around bugs in some apps that aren't ICCCM compliant.
Eterm ends up setting the type of the property to TARGETS, instead of ATOM.
That's why it wasn't working.
(cherry picked from commit 9be5998ede)
2008-10-28 22:01:29 -07:00
George Peter Staplin
9007d3beea XQuartz: pbproxy: Add code to handle PICT conversion to PNG and JPEG.
This may work, unfortunately I don't have test apps that fail.

The way it works is by using an NSImage class initWithPasteboard:
method, which we then get the TIFFRepresentation of, and convert
to PNG or JPEG.

The TIFFRepresentation uses NSTIFFCompressionNone; which should be
lossless.
(cherry picked from commit 8d048cfa95)
2008-10-28 22:01:22 -07:00
Jeremy Huddleston
b742da0b71 XQuartz: pbproxy: fixed blocking
(cherry picked from commit bb330a1b1c)
2008-10-28 22:00:52 -07:00
Jeremy Huddleston
c885110aed Xquartz: pbproxy: Some debugging about unhandled mime types... this will spam up quick, but will be useful for a while...
(cherry picked from commit 3647215310)
2008-10-28 22:00:42 -07:00
George Peter Staplin
e7c26964ee XQuartz: GL: Fix several error handling mistakes in handleRenderDescriptions, that were leftover before the final code evolved.
(cherry picked from commit fe35a36390)
2008-10-28 22:00:36 -07:00
George Peter Staplin
21ea9d82aa XQuartz: GL: Add feature detection of color sizes, and accum sizes.
This gives us a *lot* more visuals, and they should be more accurate.
Some of the visuals may have been wrong before.  This may enable more
OpenGL programs to behave correctly.

I also suspect libGL needs a little work to handle some of these correctly.
(cherry picked from commit 98a084ce9c)
2008-10-28 22:00:29 -07:00
Peter Hutterer
c264826da9 xfree86: If AEI is on, disable "kbd" and "mouse" devices.
This consists of two parts:
In the implicit server layout, ignore those drivers when looking for a core
device.

And after finishing the server layout, run through the list of devices and
remove any that use mouse or kbd.

AEI is mutually exclusive with the kbd and mouse drivers, so pick either - or.

Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-10-29 12:07:26 +10:30
Julien Cristau
102c4dac7c x86emu: fix sparse warnings
ops2.c:113:18: warning: Using plain integer as NULL pointer
ops2.c:207:18: warning: Using plain integer as NULL pointer
2008-10-26 13:17:31 +01:00
Julien Cristau
ffaaa1a198 xfree86: fix compiler warnings in DoModalias()
The precedence of == is higher than that of &, so that code was
probably buggy.

xf86Init.c: In function 'DoModalias':
xf86Init.c:300: warning: suggest parentheses around comparison in operand of &
xf86Init.c:304: warning: suggest parentheses around comparison in operand of &
xf86Init.c:308: warning: suggest parentheses around comparison in operand of &
2008-10-26 13:13:21 +01:00
Julien Cristau
66fd05acd6 xfree86: Silence compiler warnings about function prototypes
xf86Init.c:136: warning: function declaration isn't a prototype
xf86Init.c:243: warning: function declaration isn't a prototype
xf86Init.c:249: warning: function declaration isn't a prototype
2008-10-26 13:11:41 +01:00
Julien Cristau
eadf90aa65 xaa: Fix compiler warning (implicit declaration)
xaaInit.c: In function 'XAAInit':
xaaInit.c:201: warning: implicit declaration of function 'miInitializeCompositeWrapper'
xaaInit.c:201: warning: nested extern declaration of 'miInitializeCompositeWrapper'
2008-10-26 11:44:57 +01:00
Julien Cristau
aee514cfb5 xfree86: Fix compiler warnings (implicit declarations)
Add missing includes to fix the following warnings:
xf86DGA.c: In function 'DGAProcessKeyboardEvent':
xf86DGA.c:1050: warning: implicit declaration of function 'UpdateDeviceState'
xf86DGA.c:1050: warning: nested extern declaration of 'UpdateDeviceState'
xf86Xinput.c: In function 'xf86ActivateDevice':
xf86Xinput.c:303: warning: implicit declaration of function 'AssignTypeAndName'
xf86Xinput.c:303: warning: nested extern declaration of 'AssignTypeAndName'
xf86Xinput.c:311: warning: implicit declaration of function 'DeviceIsPointerType'
xf86Xinput.c:311: warning: nested extern declaration of 'DeviceIsPointerType'
xf86Xinput.c:324: warning: implicit declaration of function 'XkbSetExtension'
xf86Xinput.c:324: warning: nested extern declaration of 'XkbSetExtension'
2008-10-26 11:44:11 +01:00
Julien Cristau
add946daed Nuke unused variables 2008-10-26 11:44:10 +01:00
Bernhard R. Link
24e863b0eb Bug#16501: autodetection of sbus graphic cards
Add automatic detection of the graphic driver to load for sbus devices.
This allows xorg to work on those devices without a "Device" section.

Debian bug#483942.

Signed-off-by: Julien Cristau <jcristau@debian.org>
2008-10-26 00:26:51 +02:00