summaryrefslogtreecommitdiff
path: root/src/ws.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2011-04-24 17:27:15 +0200
committerMatthieu Herrb <matthieu.herrb@laas.fr>2011-04-24 17:48:14 +0200
commit0388034c7ca0c7571a926044c95e5f9ae837c60e (patch)
tree6f4f24044de9b4fa63cef0df5a0d4829ce4c04f8 /src/ws.h
parent758a969e42667a3fb1dfde9a5a977d61c4552962 (diff)
more bits of the preliminary XRandR support.xrandr
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
Diffstat (limited to 'src/ws.h')
-rw-r--r--src/ws.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ws.h b/src/ws.h
index 64b7076..9b65c3a 100644
--- a/src/ws.h
+++ b/src/ws.h
@@ -45,6 +45,8 @@ typedef struct WSDevice {
int raw;
int inv_x, inv_y;
int screen_no;
+ char *rroutput;
+ int x_offset, y_offset; /* randr output position */
int num, den, threshold; /* relative accel params */
pointer buffer;
int negativeZ, positiveZ; /* mappings for Z axis */
@@ -70,3 +72,4 @@ extern void wsmbEmuOn(InputInfoPtr);
extern void wsmbEmuFinalize(InputInfoPtr);
extern void wsmbEmuEnable(InputInfoPtr, BOOL);
extern void wsmbEmuInitProperty(DeviceIntPtr);
+extern void wsRandRGetInfo(InputInfoPtr, char *);