summaryrefslogtreecommitdiff
path: root/sbin/wsconsctl/wsconsctl.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-17 07:10:26 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-17 07:10:26 +0000
commit6c193e127385ca865456e2381818121a0eaa1093 (patch)
treea78b8f65bb5eb816ab49b61b6d660274690a3390 /sbin/wsconsctl/wsconsctl.h
parentb37ccbced4991cd9e576b413574cc0ec62ce5d99 (diff)
display.focus is a signed int, make it so; this fixes a problem under x11, which is now a correct -1
Diffstat (limited to 'sbin/wsconsctl/wsconsctl.h')
-rw-r--r--sbin/wsconsctl/wsconsctl.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/wsconsctl/wsconsctl.h b/sbin/wsconsctl/wsconsctl.h
index 341851af90f..eca518253a6 100644
--- a/sbin/wsconsctl/wsconsctl.h
+++ b/sbin/wsconsctl/wsconsctl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsconsctl.h,v 1.5 2002/05/22 20:36:06 mickey Exp $ */
+/* $OpenBSD: wsconsctl.h,v 1.6 2002/12/17 07:10:25 mickey Exp $ */
/* $NetBSD: wsconsctl.h 1.1 1998/12/28 14:01:17 hannken Exp $ */
/*-
@@ -43,8 +43,9 @@ struct field {
char *name;
void *valp;
#define FMT_UINT 1 /* unsigned integer */
-#define FMT_BOOL 2 /* boolean on/off */
-#define FMT_PC 3 /* percentage fixed point 000.00 */
+#define FMT_INT 2 /* signed integer */
+#define FMT_BOOL 3 /* boolean on/off */
+#define FMT_PC 4 /* percentage fixed point 000.00 */
#define FMT_KBDTYPE 101 /* keyboard type */
#define FMT_MSTYPE 102 /* mouse type */
#define FMT_DPYTYPE 103 /* display type */