Re: [PATCH xrandr] xrandr: print primary output

2013-01-02 Thread Pierre-Loup A. Griffais

Thanks!

On 01/02/2013 01:25 PM, Aaron Plattner wrote:

On 12/26/2012 11:49 PM, Pierre-Loup A. Griffais wrote:

Ping; anyone feel like merging this?


To ssh://git.freedesktop.org/git/xorg/app/xrandr
 b26fd53..094b40e  master ->  master

--
Aaron


Thanks,
   - Pierre-Loup

On 12/19/2012 12:35 PM, Pierre-Loup A. Griffais wrote:

I could have sworn there was a change to do that in the wild already,
but I couldn't find it.

Thanks,
   - Pierre-Loup



___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel


Re: [PATCH xrandr] xrandr: print primary output

2013-01-02 Thread Aaron Plattner

On 12/26/2012 11:49 PM, Pierre-Loup A. Griffais wrote:

Ping; anyone feel like merging this?


To ssh://git.freedesktop.org/git/xorg/app/xrandr
   b26fd53..094b40e  master -> master

--
Aaron


Thanks,
  - Pierre-Loup

On 12/19/2012 12:35 PM, Pierre-Loup A. Griffais wrote:

I could have sworn there was a change to do that in the wild already,
but I couldn't find it.

Thanks,
  - Pierre-Loup


___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel


Re: [PATCH xrandr] xrandr: print primary output

2012-12-26 Thread Pierre-Loup A. Griffais
Ping; anyone feel like merging this?

Thanks,
 - Pierre-Loup

On 12/19/2012 12:35 PM, Pierre-Loup A. Griffais wrote:
> I could have sworn there was a change to do that in the wild already,
> but I couldn't find it.
> 
> Thanks,
>  - Pierre-Loup
> 

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel


[PATCH xrandr] xrandr: print primary output

2012-12-19 Thread Pierre-Loup A. Griffais
I could have sworn there was a change to do that in the wild already,
but I couldn't find it.

Thanks,
 - Pierre-Loup
>From 7d0720196cd89ac012fd7d0bf86cee0cffaea631 Mon Sep 17 00:00:00 2001
From: "Pierre-Loup A. Griffais" 
Date: Wed, 19 Dec 2012 12:32:03 -0800
Subject: [PATCH] xrandr: print primary output

Sample output:

LVDS-0 connected primary 1920x1080+1920+120 [...]

Signed-off-by: Pierre-Loup A. Griffais 
---
 xrandr.c |3 +++
 1 file changed, 3 insertions(+)

diff --git a/xrandr.c b/xrandr.c
index 548015c..e8d24fb 100644
--- a/xrandr.c
+++ b/xrandr.c
@@ -3249,6 +3249,9 @@ main (int argc, char **argv)
 	Rotation	rotations = output_rotations (output);
 
 	printf ("%s %s", output_info->name, connection[output_info->connection]);
+	if (output->primary) {
+		printf(" primary");
+	}
 	if (mode)
 	{
 		if (crtc_info) {
-- 
1.7.10.4

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel