]> git.lizzy.rs Git - plan9front.git/commitdiff
devmouse: default to no blanking instead of 30 minute blank timeout
authorcinap_lenrek <cinap_lenrek@felloff.net>
Thu, 1 Jul 2021 23:11:11 +0000 (23:11 +0000)
committercinap_lenrek <cinap_lenrek@felloff.net>
Thu, 1 Jul 2021 23:11:11 +0000 (23:11 +0000)
sys/man/3/mouse
sys/src/9/port/devmouse.c

index 57772eab972eb4930a897b0ae70bc1246556fa6b..dbc46cd6b79f6cb964d660e95441a183ff0c389b 100644 (file)
@@ -156,15 +156,17 @@ to its default state.
 .TP
 .B blank
 blanks the screen.
 .TP
 .B blank
 blanks the screen.
-The screen also blanks after 30 minutes of inactivity.
+The screen also blanks after
+.I blanktime
+minutes of inactivity.
 The screen can be unblanked by moving the mouse.
 .TP
 .BI blanktime " minutes"
 sets the timeout before the
 The screen can be unblanked by moving the mouse.
 .TP
 .BI blanktime " minutes"
 sets the timeout before the
-screen blanks; the default is 30 minutes.
+screen blanks.
 If
 .I minutes
 If
 .I minutes
-is zero, blanking is disabled.
+is zero, blanking is disabled (this is the default).
 .TP
 .B twitch
 unblanks the screen and resets the idle timeout as if the
 .TP
 .B twitch
 unblanks the screen and resets the idle timeout as if the
index cec16c75378de3dd4701ad54eaa9606ed2a4d49c..d09d6f7d55f3b2fd359493660887611a87dc8f64 100644 (file)
@@ -98,7 +98,7 @@ static uchar buttonmap[8] = {
 static int mouseswap;
 static int scrollswap;
 static ulong mousetime;
 static int mouseswap;
 static int scrollswap;
 static ulong mousetime;
-static ulong blanktime = 30;   /* in minutes; a half hour */
+static ulong blanktime;
 
 extern Memimage* gscreen;
 
 
 extern Memimage* gscreen;