summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2019-02-05 21:46:21 -0600
committerepoch <epoch@hacking.allowed.org>2019-02-05 21:46:21 -0600
commit848a823b1287d8804e8d6170c3ca30ccf7689784 (patch)
treeea9357aa5a2ac4a1b2667a0ec3482d86b994d8b4 /src/common.h
parentf479b438e6119e83c95b19aaeccd61a8e5eded27 (diff)
downloadhackvr-848a823b1287d8804e8d6170c3ca30ccf7689784.tar.gz
hackvr-848a823b1287d8804e8d6170c3ca30ccf7689784.zip
added --version/-v/version flag/command. changed mouse coords from shrot to int
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common.h b/src/common.h
index 93e8d27..9b7dd6d 100644
--- a/src/common.h
+++ b/src/common.h
@@ -35,9 +35,9 @@ typedef struct {
real y;
} c2_t;
-typedef struct {//no screens will ever be bigger than 32k x 32k, right?
- short x;
- short y;
+typedef struct {//x11 wants coords to be integers. let's make this that.
+ int x;
+ int y;
} cs_t;
typedef struct {