- 18 Dec, 2009 2 commits
-
-
Peter Hutterer authored
SpecialKeyHandling was removed from the kbd driver with version 1.4.0. Since this is the only version that will build against server 1.7+ it's not reasonable to mention it in the man page. Reword, point to XKB instead and make clear that some key combinations _may_ not be available in any given config. Reported-by: Derek Fawcus Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Alan Coopersmith <alan.coopersmith@sun.com>
-
Peter Hutterer authored
1.7 always shipped with DontZap disabled, it's just the default keymaps that may not include the symbol to trigger it. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Alan Coopersmith <alan.coopersmith@sun.com>
-
- 17 Dec, 2009 9 commits
-
-
Keith Packard authored
-
Keith Packard authored
-
Ville Syrjälä authored
Most of the Xv Put/Get operations have an off by one error in the viewport clipping. Apparently PutImage was fixed at some point but the same code was already copy-pasted all over the place, and so the other operations still suffer from the bug. Signed-off-by:
Ville Syrjälä <ville.syrjala@nokia.com> Reviewed-by:
Tiago Vignatti <tiago.vignatti@nokia.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Peter Hutterer authored
On Fri, Dec 11, 2009 at 10:19:01AM -0800, Keith Packard wrote: > On Wed, 9 Dec 2009 11:55:14 +1000, Peter Hutterer <peter.hutterer@who-t.net> wrote: > > On Tue, Dec 08, 2009 at 05:24:06PM -0800, Aaron Plattner wrote: > > > On Tue, Dec 08, 2009 at 03:52:27PM -0800, Peter Hutterer wrote: > > > > Xorg +xinerama crashes immediately due to whacky dependency between Xinerama > > > > and RandR12. The latter doesn't initialize if Xinerama is enabled, but if > > > > only one screen is found, Xinerama is disabled again and RandR12 tries to > > > > access data it never initialized. > > I'd sure like to have RandR get enabled when xinerama doesn't; is there > an easy way of making that happen here? Perhaps having the RandR12 code > disable Xinerama when only one screen is found? Or some other kludge? you know the dependency better than I do so any hints are apreciated. afaict, the screenInfo.numScreens (the check used by Xinerama) isn't necessarily initialized at this point so we can't use the same check. The following seems to work though: From 670b3ebdb7312a6433a8f093d0820785db2aea20 Mon Sep 17 00:00:00 2001 From: Peter Hutterer <peter.hutterer@who-t.net> Date: Mon, 14 Dec 2009 11:00:58 +1000 Subject: [PATCH] xfree86: if only one screen was found, disable Xinerama (#24627) Xorg +xinerama crashes immediately due to whacky dependency between Xinerama and RandR12. The latter doesn't initialize if Xinerama is enabled, but if only one screen is found, Xinerama is disabled again and RandR12 tries to access data it never initialized. Dependency chain is: - ProcessCommandLine sets noPanoramiXExtension to FALSE - xf86RandR12Init() is a noop - PanoramiXExtensionInit sets noPanoramiXExtension to TRUE - xf86RandR12CreateScreenResources tries to use the devPrivates key it never initialized. This hack checks if there's only one screen at the time RandR12 is initialized. If so, we expect Xinerama to fail anyhow so we disable it ourselves and proceed as planned. X.Org Bug 24627 <http://bugs.freedesktop.org/show_bug.cgi?id=24627> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Tiago Vignatti authored
Previously it was trying to set the same value as the default one. Sigh. Signed-off-by:
Tiago Vignatti <tiago.vignatti@nokia.com> Acked-by:
Rami Ylimaki <ext-rami.ylimaki@nokia.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Tiago Vignatti authored
FWIW default log verbosity is 0, so this will affect only if one start the server with a different -verbose argument. Signed-off-by:
Tiago Vignatti <tiago.vignatti@nokia.com> Acked-by:
Rami Ylimaki <ext-rami.ylimaki@nokia.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Tiago Vignatti authored
Signed-off-by:
Tiago Vignatti <tiago.vignatti@nokia.com> Acked-by:
Rami Ylimaki <ext-rami.ylimaki@nokia.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Acked-by:
Adam Jackson <ajax@redhat.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Acked-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 16 Dec, 2009 2 commits
-
-
Jeremy Huddleston authored
This is not portable, and accodring to Paulo should not be required any more. Signed-off-by:
Jeremy Huddleston <jeremyhu@freedesktop.org>
-
Jeremy Huddleston authored
Signed-off-by:
Jeremy Huddleston <jeremyhu@freedesktop.org> Reviewed-by:
Alan Coopersmith <alan.coopersmith@sun.com>
-
- 15 Dec, 2009 3 commits
-
-
Alan Coopersmith authored
Update the comment about "a modification is currently under discussion" since there hasn't been any such discussion for some time and this is the consensus agreed upon preferred format. Also throw in a pointer to the OSI discussion page about the MIT license. Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Signed-off-by:
Daniel Stone <daniel@fooishbar.org> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Acked-by:
Adam Jackson <ajax@redhat.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com> Acked-by:
Adam Jackson <ajax@redhat.com>
-
- 14 Dec, 2009 1 commit
-
-
Adam Jackson authored
Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Signed-off-by:
Adam Jackson <ajax@redhat.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
- 11 Dec, 2009 13 commits
-
-
Keith Packard authored
Windows (or even pixmaps, in some cases) may not sit at the origin of the containing pixmap, so any coordinates relative to the drawable must be adjusted. For destinations and untransformed sources, the operation coordinates are adjusted. For transformed sources, the transform matrix is adjusted. Signed-off-by:
Keith Packard <keithp@keithp.com> Acked-by:
Soeren Sandmann <sandmann@daimi.au.dk>
-
Keith Packard authored
These two sub-macros each perform half of the original macro work and the old macro is now implemented in terms of the new ones. This makes way for new code which wants to know the underlying pixmap for a window instead of just getting a pointer to the bits. Signed-off-by:
Keith Packard <keithp@keithp.com> Acked-by:
Soeren Sandmann <sandmann@daimi.au.dk>
-
Keith Packard authored
This reverts commit e9aa61e9. Conflicts: fb/fbpict.c Signed-off-by:
Keith Packard <keithp@keithp.com> Acked-by:
Soeren Sandmann <sandmann@daimi.au.dk>
-
Keith Packard authored
This reverts commit 7c7f0c2c. Signed-off-by:
Keith Packard <keithp@keithp.com> Acked-by:
Soeren Sandmann <sandmann@daimi.au.dk>
-
Keith Packard authored
This reverts commit 08df2455. Signed-off-by:
Keith Packard <keithp@keithp.com> Acked-by:
Soeren Sandmann <sandmann@daimi.au.dk>
-
Keith Packard authored
This reverts commit 66a9616d. Signed-off-by:
Keith Packard <keithp@keithp.com> Acked-by:
Soeren Sandmann <sandmann@daimi.au.dk>
-
Keith Packard authored
-
Peter Hutterer authored
As the comment for the function states, led_return is undefined if map is NULL. We might as well skip writing to it then. Found by clang. Reported-by:
Tomas Carnecky <tom@dbservice.com> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Jamey Sharp <jamey@minilop.net>
-
Peter Hutterer authored
Commit 0e6cee85 introduced cleanup code to remove the accel properties when switching schemes. The same code is triggered by the default closedown code but only after unconditionally removing all device properties (as part of the cleanup). The properties, although deleted never got reset to NULL. X.Org Bug 25374 <http://bugs.freedesktop.org/show_bug.cgi?id=25374> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Tested-by:
Andy Furniss <lists@andyfurniss.entadsl.com> Reviewed-by:
Dave Airlie <airlied@redhat.com>
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Dave Airlie <airlied@redhat.com>
-
Julien Cristau authored
config_init() can now add devices directly instead of scheduling a timer. Signed-off-by:
Julien Cristau <jcristau@debian.org> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Tomas Carnecky authored
Through some code paths it is possible that NULL is being passed in the 'ed' parameter to XkbFlushLedEvents(). Make sure we don't pass it along to bzero(). Signed-off-by:
Tomas Carnecky <tom@dbservice.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Tomas Carnecky authored
This avoids NULL from being passed to memcpy() later in the code. While that wasn't an issue before - that value being NULL implied 'size == 0' so memcpy() wouldn't try to dereference it - it made the code harder to read and also confused clang. Signed-off-by:
Tomas Carnecky <tom@dbservice.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 10 Dec, 2009 2 commits
-
-
Michel Dänzer authored
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=25536 . There should be no reason for the pitch to actually change when none of the other dimensions do, and this could lead to incorrectly freeing the system memory copy when allocating a GPU copy, resulting in loss of valid pixmap contents. Signed-off-by:
Michel Dänzer <daenzer@vmware.com> Acked-by:
Maarten Maathuis <madman2003@gmail.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Jeremy Huddleston authored
Signed-off-by:
Jeremy Huddleston <jeremyhu@freedesktop.org>
-
- 08 Dec, 2009 3 commits
-
-
Jeremy Huddleston authored
main.c:134: warning: no previous prototype for 'dix_main' rootlessScreen.c: In function 'RootlessMarkOverlappedWindows': rootlessScreen.c:434: warning: function declaration isn't a prototype backtrace.c:51: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'int' backtrace.c:54: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'int' set.c: In function 'RecordSetMemoryRequirements': set.c:413: warning: old-style function definition set.c: In function 'RecordCreateSet': set.c:425: warning: old-style function definition stub.c: In function ‘main’: stub.c:236: warning: ISO C90 forbids mixed declarations and code Signed-off-by:
Jeremy Huddleston <jeremyhu@freedesktop.org>
-
Michel Dänzer authored
* Better detection of dimension changes. * Make sure to re-create the system memory copy when the pixmap dimensions change (e.g. the screen pixmap on screen resize). * Clear the valid regions. Signed-off-by:
Michel Dänzer <daenzer@vmware.com> Acked-by:
Maarten Maathuis <madman2003@gmail.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Michel Dänzer authored
Only return TRUE if the GPU copy is being accessed, and preserve the return value on repeated / nested calls for the same pixmap. exaPrepareAccessReg_mixed could get inconsistent return values e.g. when the same pixmap is both the destination and source of an operation, potentially resulting in a crash. Signed-off-by:
Michel Dänzer <daenzer@vmware.com> Acked-by:
Maarten Maathuis <madman2003@gmail.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
- 05 Dec, 2009 1 commit
-
-
Maarten Maathuis authored
- When they have a gpu copy ofcource. - Use the presence of a cpu copy as a hint to fall back instead of UTS'ing in exaHWCopyNtoN. Signed-off-by:
Maarten Maathuis <madman2003@gmail.com> Acked-by:
Michel Dänzer <michel@daenzer.net> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
- 04 Dec, 2009 2 commits
-
-
Michel Dänzer authored
Fixes incorrectly skipped rendering of some Composite operations to windows. Signed-off-by:
Michel Dänzer <daenzer@vmware.com> Reviewed-by:
Keith Packard <keithp@keithp.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Maarten Maathuis authored
Signed-off-by:
Maarten Maathuis <madman2003@gmail.com> Acked-by:
Michel Dänzer <michel@daenzer.net> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
- 03 Dec, 2009 1 commit
-
-
Maarten Maathuis authored
This reverts commit 99d88ef6. - Some pixmaps under classic have a sys_pitch which is 0, no idea why. This is causing rendering corruption. Signed-off-by:
Maarten Maathuis <madman2003@gmail.com> Acked-by:
Michel Dänzer <michel@daenzer.net> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
- 02 Dec, 2009 1 commit
-
-
Keith Packard authored
-