diff options
Diffstat (limited to 'userland/windowserver/ws.c')
-rw-r--r-- | userland/windowserver/ws.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/userland/windowserver/ws.c b/userland/windowserver/ws.c index a438566..a4f5a59 100644 --- a/userland/windowserver/ws.c +++ b/userland/windowserver/ws.c @@ -333,8 +333,8 @@ void parse_mouse_event(int fd) { x |= 0xFF00; if (ys) y |= 0xFF00; - xc += *(int16_t *)&x; - yc += *(int16_t *)&y; + xc += x; + yc += y; } } mouse_x += xc; |