diff options
| author | Miguel <m.i@gmx.at> | 2018-10-13 17:18:49 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-13 17:18:49 +0200 |
| commit | 5aeab1c853e487aa0042d5c32200d623efe908d3 (patch) | |
| tree | 51c810e0ce95c2b031b69999be2c0ab4244b2749 /driver/mouse.c | |
| parent | 279f3336a8f6b31ca38bdd272c73aebd68fa88fe (diff) | |
fontstuff et al.
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) |
