[gnome-desktop/randr-hotplug: 9/9] Comments to clarify the meaning of 'on', 'connected', 'clone'
- From: Federico Mena Quintero <federico src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-desktop/randr-hotplug: 9/9] Comments to clarify the meaning of 'on', 'connected', 'clone'
- Date: Mon, 8 Jun 2009 20:45:24 -0400 (EDT)
commit 586ecbbc7f8d4192b7c89be6fe7a22ddf2bd027e
Author: Federico Mena Quintero <federico novell com>
Date: Sun May 31 13:08:29 2009 -0500
Comments to clarify the meaning of 'on', 'connected', 'clone'
Signed-off-by: Federico Mena Quintero <federico novell com>
---
libgnome-desktop/libgnomeui/gnome-rr-config.h | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/libgnome-desktop/libgnomeui/gnome-rr-config.h b/libgnome-desktop/libgnomeui/gnome-rr-config.h
index c04a59e..7e54b09 100644
--- a/libgnome-desktop/libgnomeui/gnome-rr-config.h
+++ b/libgnome-desktop/libgnomeui/gnome-rr-config.h
@@ -45,7 +45,7 @@ struct GnomeOutputInfo
{
char * name;
- gboolean on;
+ gboolean on; /* whether there is a CRTC assigned to this output (i.e. a signal is being sent to it) */
int width;
int height;
int rate;
@@ -53,7 +53,7 @@ struct GnomeOutputInfo
int y;
GnomeRRRotation rotation;
- gboolean connected;
+ gboolean connected; /* whether the output is physically connected to a monitor */
char vendor[4];
guint product;
guint serial;
@@ -67,6 +67,10 @@ struct GnomeOutputInfo
struct GnomeRRConfig
{
+ /* "clone" means that at least two outputs are at (0, 0) offset and they
+ * have the same width/height. Those outputs are of course connected and on
+ * (i.e. they have a CRTC assigned).
+ */
gboolean clone;
GnomeOutputInfo ** outputs;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]