summaryrefslogtreecommitdiff
path: root/clients/terminal.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-05-08 17:17:54 +0100
committerKristian Høgsberg <krh@bitplanet.net>2012-05-08 14:40:57 -0400
commitb230a7ee58ebe12f07b6ace4fcbb7a410038e35c (patch)
tree9cb90c941e8efafc5a4b70a2cacba02c1791e759 /clients/terminal.c
parentbd3489b6e1657a036327c079abbd7da1c50799dc (diff)
Convert internal input co-ordinates to GLfloat
Change all client motion handlers to take GLfloat for co-ordinates, rather than int32_t. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'clients/terminal.c')
-rw-r--r--clients/terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/terminal.c b/clients/terminal.c
index fd6fb5e..4fbc1ff 100644
--- a/clients/terminal.c
+++ b/clients/terminal.c
@@ -2237,7 +2237,7 @@ button_handler(struct widget *widget,
static int
motion_handler(struct widget *widget,
struct input *input, uint32_t time,
- int32_t x, int32_t y, void *data)
+ GLfloat x, GLfloat y, void *data)
{
struct terminal *terminal = data;