diff options
Diffstat (limited to 'driver/mouse.c')
| -rw-r--r-- | driver/mouse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/mouse.c b/driver/mouse.c index 0c48a5f..c0e71d5 100644 --- a/driver/mouse.c +++ b/driver/mouse.c @@ -154,7 +154,7 @@ void mouse_action() if(mouse_x>=1920)mouse_x=1920-1; if(mouse_y>=1080)mouse_y=1080-1; - compositor_mouse_handle(mouse_x,1080-mouse_y, mouse_byte[0]); + compositor_mouse_handle(mouse_x,1080-mouse_y-1, mouse_byte[0]); } void mouse_handler(uint8_t byte)//struct regs *a_r) //struct regs *a_r (not used but just there) |
