[chronojump] on Compujump wake also working if Monitor is in Standby



commit 974e79128c4afecbdfe83da490794d9e2412b9cd
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Jan 30 19:51:33 2017 +0100

    on Compujump wake also working if Monitor is in Standby

 src/networks.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/networks.cs b/src/networks.cs
index e8630eb..3e7dde9 100644
--- a/src/networks.cs
+++ b/src/networks.cs
@@ -91,6 +91,8 @@ public class Networks
 
                                if(line.StartsWith("  Monitor is On"))
                                        return true;
+                               else if(line.StartsWith("  Monitor is in Standby"))
+                                       return false;
                                else if(line.StartsWith("  Monitor is Off"))
                                        return false;
                        } while(true);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]