mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-11-03 22:22:08 +00:00 
			
		
		
		
	[client] ensure the cursor is updated when the window looses/gains focus
This commit is contained in:
		@@ -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
 | 
			
		||||
    );
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user