mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-31 12:42:02 +00:00 
			
		
		
		
	[client] allow mouse movements to trigger render updates
Now EGL is lockless we can allow cursor updates to trigger frame updates directly.
This commit is contained in:
		| @@ -350,6 +350,8 @@ static int cursorThread(void * unused) | ||||
|       state.cursor.x, | ||||
|       state.cursor.y | ||||
|     ); | ||||
|  | ||||
|     lgSignalEvent(e_frame); | ||||
|   } | ||||
|  | ||||
|   lgmpClientUnsubscribe(&queue); | ||||
| @@ -458,6 +460,7 @@ static int frameThread(void * unused) | ||||
|     } | ||||
|     lgmpClientMessageDone(queue); | ||||
|     ++state.frameCount; | ||||
|  | ||||
|     lgSignalEvent(e_frame); | ||||
|   } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Geoffrey McRae
					Geoffrey McRae