mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-02-23 11:51:22 +00:00
[client] ensure the cursor is updated when the window looses/gains focus
This commit is contained in:
parent
6927dbecd2
commit
7d2b39058c
2 changed files with 4 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
B2-rc4-8-gf9b6dcc986+1
|
||||
B2-rc4-9-g6927dbecd2+1
|
|
@ -285,6 +285,8 @@ static int cursorThread(void * unused)
|
|||
state.cursor.x,
|
||||
state.cursor.y
|
||||
);
|
||||
|
||||
lgSignalEvent(e_frame);
|
||||
}
|
||||
|
||||
usleep(params.cursorPollInterval);
|
||||
|
@ -354,7 +356,7 @@ static int cursorThread(void * unused)
|
|||
state.lgr->on_mouse_event
|
||||
(
|
||||
state.lgrData,
|
||||
state.cursorVisible && state.drawCursor,
|
||||
state.cursorVisible && state.drawCursor && state.cursorInView,
|
||||
state.cursor.x,
|
||||
state.cursor.y
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue