Re: Fixing devPrivates

2010-05-03 Thread Adam Jackson
On Sat, 2010-05-01 at 01:58 -0700, Keith Packard wrote: I promised to get some actual numbers. I did before/after comparisons with three different X server states: 1) X server at the root weave 2) Gnome session started 3) Gnome session running with iceweasel showing lwn.net's home page

Re: [PATCH 1/2] Fix cursor ref counting mistakes with sprites and xf86Cursor.c

2010-05-03 Thread Adam Jackson
On Fri, 2010-04-30 at 16:13 -0700, Keith Packard wrote: A few cursor value assignments weren't getting correctly ref counted, causing leaks of cursor objects. Reviewed-by: Adam Jackson a...@redhat.com - ajax signature.asc Description: This is a digitally signed message part

Per-output DPMS?

2010-05-03 Thread Richard Hughes
I get quite a few bug reports from people using gnome-power-manager who want to turn off the internal laptop panel when docked, and turn the external panel on. On idle, the external panel should then blank, and then just the external panel should return to life when the mouse is moved. Ideally I

Re: [PATCH 2/2] Make sure XFixes invisible cursor gets freed on server reset

2010-05-03 Thread Adam Jackson
On Fri, 2010-04-30 at 16:13 -0700, Keith Packard wrote: This uses the same hack that dix uses for the rootCursor -- allocate a resource ID for the invisible cursor so that it gets freed at reset time. This also allows us to unconditionally create it during extension initialization; necessary

Re: [PATCH 1/4] dix: Update element count in FreeResourceByType()

2010-05-03 Thread Adam Jackson
On Sun, 2010-05-02 at 16:48 -0700, Keith Packard wrote: On Sun, 2 May 2010 17:26:58 -0400, Kristian Høgsberg k...@bitplanet.net wrote: I guess they don't do it either... bad assumption on my part. But it *is* a bug, right? I can fix those too and resend, but I'm just still surprised

Re: [PATCH 2/4] glxdri2: Hard-code the extension version we need

2010-05-03 Thread Adam Jackson
On Sat, 2010-05-01 at 13:31 -0400, Kristian Høgsberg wrote: If we use the #define'd version from dri_interface.h, the server will require at least that version of the extension. If we're compiling against a dri_interface.h with a newer version we don't really require, glxdri2 will require a

Re: [PATCH 3/4] list.h: Add list_for_each_entry_safe()

2010-05-03 Thread Adam Jackson
On Sat, 2010-05-01 at 13:31 -0400, Kristian Høgsberg wrote: Signed-off-by: Kristian Høgsberg k...@bitplanet.net Reviewed-by: Adam Jackson a...@redhat.com - ajax signature.asc Description: This is a digitally signed message part ___

Re: Per-output DPMS?

2010-05-03 Thread Matthew Garrett
On Mon, May 03, 2010 at 03:55:23PM +0100, Richard Hughes wrote: Ideally I could set a per-output DPMS setting, although I guess the same affect could be done with XRandr and turning the output off, although this takes a few seconds to come back on, and upsets the screen geometry. What's a

Re: Per-output DPMS?

2010-05-03 Thread Michel Dänzer
On Mon, 2010-05-03 at 16:26 +0100, Matthew Garrett wrote: On Mon, May 03, 2010 at 03:55:23PM +0100, Richard Hughes wrote: Ideally I could set a per-output DPMS setting, although I guess the same affect could be done with XRandr and turning the output off, although this takes a few

Re: [PATCH 09/10] xfree86: remove xf86EnableAccess

2010-05-03 Thread Adam Jackson
On Mon, 2010-05-03 at 00:43 +0300, Tiago Vignatti wrote: Not necessarily your driver will want to use the VGA arbitration. The patch only cares about the removal of this unused API. BTW, is the driver that you care open-source? If yes, as I pointed on the cover letter, it's pretty easy to

Help With setting Window Borders

2010-05-03 Thread John Eke
Hi, Please help I am slightly confused. What does the border width, and border pixel properties do? I have an X11 client that sends a CreateWindow request, where I set values for border width and border color. I am not sure why I see no effect, could someone please let me know what I am doing

Re: Help With setting Window Borders

2010-05-03 Thread Peter Harris
On 2010-05-03 11:58, John Eke wrote: Please help I am slightly confused. What does the border width, and border pixel properties do? I have an X11 client that sends a CreateWindow request, where I set values for border width and border color. I am not sure why I see no effect, could someone

Re: Fixing devPrivates

2010-05-03 Thread Keith Packard
On Mon, 03 May 2010 10:50:37 -0400, Adam Jackson a...@nwnk.net wrote: To be clear: blocks here are devPrivates hanging off some object and bytes are number of bytes in those blocks ? yes. With devPrivates automatically allocated now, you always get one even if no-one ever stores something in a

Re: Help With setting Window Borders

2010-05-03 Thread John Eke
Thanks a lot for your response Peter, is there any way around this though? I can get the window to render without decorations, but will this suffice? - John E Peter Harris wrote: On 2010-05-03 11:58, John Eke wrote: Please help I am slightly confused. What does the border width,

Re: Help With setting Window Borders

2010-05-03 Thread Peter Harris
On 2010-05-03 12:40, John Eke wrote: Thanks a lot for your response Peter, is there any way around this though? I can get the window to render without decorations, but will this suffice? Depends on the window manager. You can always set override-redirect on your window, which will bypass

Re: [PULL] DRI2 XID confusion fixes

2010-05-03 Thread Owen Taylor
On Sun, 2010-05-02 at 17:57 -0700, Kristian Høgsberg wrote: Here's a pull request for the four patches I sent out earlier. The dix resource patch has been updated to also update the element count for FreeClientNeverRetainResources() and FreeClientResources(), which also didn't keep the count

Re: Per-output DPMS?

2010-05-03 Thread Adam Jackson
On Mon, 2010-05-03 at 17:33 +0200, Michel Dänzer wrote: On Mon, 2010-05-03 at 16:26 +0100, Matthew Garrett wrote: On Mon, May 03, 2010 at 03:55:23PM +0100, Richard Hughes wrote: Ideally I could set a per-output DPMS setting, although I guess the same affect could be done with XRandr and

Re: Per-output DPMS?

2010-05-03 Thread Alex Deucher
On Mon, May 3, 2010 at 10:55 AM, Richard Hughes hughsi...@gmail.com wrote: I get quite a few bug reports from people using gnome-power-manager who want to turn off the internal laptop panel when docked, and turn the external panel on. On idle, the external panel should then blank, and then

Re: [PATCH 2/4] glxdri2: Hard-code the extension version we need

2010-05-03 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kristian Høgsberg wrote: If we use the #define'd version from dri_interface.h, the server will require at least that version of the extension. If we're compiling against a dri_interface.h with a newer version we don't really require, glxdri2 will

Congratulations and thanks on behalf of the X Window System, and all those who contributed to it.

2010-05-03 Thread Jim Gettys
Rob, Please forward this to all in Red Hat and Novell, Gibson Dunn, and others who contributed to the defense of the X Window System and Linux in the IP Innovations suit. The X Window System that Bob Scheifler and I started in 1984 rapidly became a community effort that has sustained it to

Re: [PATCH 00/10] Clean up and reorganize BUS configuration code

2010-05-03 Thread Aaron Plattner
On Sun, May 02, 2010 at 01:07:36PM -0700, Tiago Vignatti wrote: Hi, Following there are a couple of trivial fixes, mostly related with bus configuration in Xorg. Besides a lot of clean up in the code, the most apparently benefit is that xf86Init is now decoupled from PCI code. The API is

Re: Smooth scrolling

2010-05-03 Thread Peter Hutterer
On Fri, Apr 30, 2010 at 01:17:42PM +0200, Max Schwarz wrote: not really, all valuators sent to the clients are always absolute (with the exception of the ones in RawEvents). so even though the driver posts events as relative, they're just added to the current value and sent as absolute

How the Server do the SW rendering?

2010-05-03 Thread Huang, FrankR
I trace the server rendering process using geode driver. When the picture format is not in PICT_a4 or PICT_a8, the rendering work is done by Software. More concretely, the fbComposite(). But when the fbComposite() is done, the rendering work result has not been displayed on the screen. Can you

Re: [PATCH v3] Support LED and tap-on-LED feature

2010-05-03 Thread Peter Hutterer
On Fri, Apr 23, 2010 at 05:40:41PM +0200, Takashi Iwai wrote: This patch adds the control of the embedded LED on the top-left corner of new Synaptics devices. For LED control, it requires the patch to Linux synaptics input driver, https://patchwork.kernel.org/patch/92434/ When a