diff options
Diffstat (limited to 'src/mtouch.c')
| -rw-r--r-- | src/mtouch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mtouch.c b/src/mtouch.c index f5acd71..44b4376 100644 --- a/src/mtouch.c +++ b/src/mtouch.c | |||
| @@ -38,6 +38,7 @@ int open_mtouch(struct MTouch *mt, int fd) | |||
| 38 | init_hwstate(&mt->hs); | 38 | init_hwstate(&mt->hs); |
| 39 | init_mtstate(&mt->prev_state); | 39 | init_mtstate(&mt->prev_state); |
| 40 | init_mtstate(&mt->state); | 40 | init_mtstate(&mt->state); |
| 41 | init_memory(&mt->mem); | ||
| 41 | SYSCALL(rc = ioctl(fd, EVIOCGRAB, (pointer)1)); | 42 | SYSCALL(rc = ioctl(fd, EVIOCGRAB, (pointer)1)); |
| 42 | return rc; | 43 | return rc; |
| 43 | } | 44 | } |
