summaryrefslogtreecommitdiff
path: root/src/savage_vbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/savage_vbe.c')
-rw-r--r--src/savage_vbe.c21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/savage_vbe.c b/src/savage_vbe.c
index 0c19fd8..90127e6 100644
--- a/src/savage_vbe.c
+++ b/src/savage_vbe.c
@@ -308,22 +308,27 @@ int SavageGetTV( SavagePtr psav )
/* Function to correct the DuoView flag in the case of a single display */
-int SavageCorrectDuoViewFlag(int iDevInfo, Bool bEnableActivate, Bool bEnableDeactivate)
+int SavageCorrectDuoViewFlag(int iDevInfo, Bool bEnableActivate,
+ Bool bEnableDeactivate)
{
- /* TODO: limit this function to be used only if no multi view mode is active ("real" DuoView) */
+ /* TODO: limit this function to be used only if no multi view mode is
+ * active ("real" DuoView) */
/*
- * This function can be used to correctly set the DuoView flag in case of a single X display.
- * It operates directly on an "iDevInfo" bit field, so the caller has the choice which one
- * should be checked.
+ * This function can be used to correctly set the DuoView flag in case of
+ * a single X display. It operates directly on an "iDevInfo" bit field, so
+ * the caller has the choice which one should be checked.
*
* The DuoView flag is only necessary as soon as the TV output is involved.
* Logic derived from the behaviour of the hardware features of HP XE3:
- * - if LCD or CRT or both are active and TV is NOT active, DuoView NEVER needs to be set
+ * - if LCD or CRT or both are active and TV is NOT active, DuoView NEVER
+ * needs to be set
* - if TV is the only active output, DuoView also does NOT need to be set
- * - if TV is active together with LCD or CRT or both, DuoView MUST be set to allow all outputs to work
+ * - if TV is active together with LCD or CRT or both, DuoView MUST be set
+ * to allow all outputs to work
*
- * The two Bool flags allow the caller to set which operations should be done on the bit field.
+ * The two Bool flags allow the caller to set which operations should be
+ * done on the bit field.
* To use the full logic mentioned above, set both flags to TRUE.
*/