Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						4113294d30 
					 
					
						
						
							
							[client] spice: fix failure to ungrab the kb with captureOnly  
						
						
						
						
					 
					
						2021-01-21 17:32:44 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						aa92a7a90d 
					 
					
						
						
							
							[client] app: fix error: ‘dataSize’ may be used uninitialized (take 2)  
						
						
						
						
					 
					
						2021-01-21 17:25:53 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						c83243f22c 
					 
					
						
						
							
							[client] app: fix error: ‘dataSize’ may be used uninitialized  
						
						
						
						
					 
					
						2021-01-21 17:21:24 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						04774d9cd6 
					 
					
						
						
							
							[host] fix faults caused by improper startup/shudown/restart ordering  
						
						
						
						
					 
					
						2021-01-21 17:05:30 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						6b8161972d 
					 
					
						
						
							
							[host] nvfbc: prevent possible double free  
						
						
						
						
					 
					
						2021-01-21 16:28:20 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						9965a4a3a6 
					 
					
						
						
							
							[host] app: prevent double call to stopThreads  
						
						
						
						
					 
					
						2021-01-21 16:27:57 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						98ea8b0bb8 
					 
					
						
						
							
							[host] nvfbc: remove invalid close of the HMONITOR handle  
						
						
						
						
					 
					
						2021-01-21 16:17:24 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						23e883f60f 
					 
					
						
						
							
							Revert "[client] sdl: move SDL specific screensaver inhibit"  
						
						... 
						
						
						
						This reverts commit afb0146d33 
						
						
					 
					
						2021-01-21 15:58:37 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						8778827a42 
					 
					
						
						
							
							[host] fix invalid LGMP free of cursor memory  
						
						
						
						
					 
					
						2021-01-21 15:53:06 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						536df254e0 
					 
					
						
						
							
							[host] fix the return code for the platform specific init  
						
						
						
						
					 
					
						2021-01-21 15:44:19 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						dcd0cb7d8e 
					 
					
						
						
							
							[client] spice: release the mouse if the host stops  
						
						
						
						
					 
					
						2021-01-21 15:39:15 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						ef4df571f0 
					 
					
						
						
							
							[host] use posix compatible exit codes (signed char)  
						
						
						
						
					 
					
						2021-01-21 15:24:02 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						e926bad759 
					 
					
						
						
							
							[host] dont overwrite the exit code on shutdown  
						
						
						
						
					 
					
						2021-01-21 15:14:50 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						ad9e84eaaa 
					 
					
						
						
							
							[host] return a proper exit code  
						
						
						
						
					 
					
						2021-01-21 15:07:19 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						29ea8ecf6b 
					 
					
						
						
							
							[client] app: if spice is not in use, hide the local cursor ( fixes   #415 )  
						
						
						
						
					 
					
						2021-01-21 14:17:31 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						afb0146d33 
					 
					
						
						
							
							[client] sdl: move SDL specific screensaver inhibit out of main.c  
						
						
						
						
					 
					
						2021-01-21 14:03:05 +11:00 
						 
				 
			
				
					
						
							
							
								Quantum 
							
						 
					 
					
						
						
							
						
						3385438095 
					 
					
						
						
							
							[client] wm: use correct logic for screensaver inhibition  
						
						... 
						
						
						
						Namely, we should inhibitIdle if noScreensaver is true, not the other way
around. 
						
						
					 
					
						2021-01-21 12:14:38 +11:00 
						 
				 
			
				
					
						
							
							
								Quantum 
							
						 
					 
					
						
						
							
						
						ffa72c7992 
					 
					
						
						
							
							[host] nvfbc: force composition to capture some full screen apps  
						
						... 
						
						
						
						NvFBC is unable to capture certain applications that bypasses the DWM
compositor, for example, Firefox playing video in full screen. This
has been a known issue for a long time with Nvidia's ShadowPlay, see:
* https://www.nvidia.com/en-us/geforce/forums/geforce-experience/14/233709/ 
* https://crbug.com/609857 
Nvidia won't fix this, but there are workarounds. For example, we
create a transparent 1x1 layered window, which forces desktop composition
to be enabled.
Note that SetLayeredWindowAttributes also supports alpha-based transparency,
but setting transparency to 0 will cause DWM to skip composition. We could
use a transparency of 1, but this ruins the image by the slightest bit,
which is unacceptable. Therefore, we must use chroma key-based
transparency, which tricks DWM into compositing despite being fully
transparent. 
						
						
					 
					
						2021-01-21 12:14:03 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						428b498cca 
					 
					
						
						
							
							[common] fix invalid read from unaligned addresses ( fixes   #410 )  
						
						
						
						
					 
					
						2021-01-20 23:18:46 +11:00 
						 
				 
			
				
					
						
							
							
								Quantum 
							
						 
					 
					
						
						
							
						
						6077dcc123 
					 
					
						
						
							
							[client] spice/wayland: fix jitter when moving the cursor slowly  
						
						... 
						
						
						
						It does not make sense to accumulate fractional error in non-capture mode
as you know exactly where the cursor is supposed to be, at least on Wayland.
On Wayland, we base movements on the current guest position and desired
target position, and the accumulated errors only skew our movements. 
						
						
					 
					
						2021-01-20 22:54:08 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						115c226113 
					 
					
						
						
							
							[github] update build workflow to update apt, and update deps  
						
						
						
						
					 
					
						2021-01-20 22:51:00 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						e758f88519 
					 
					
						
						
							
							[client] spice: fix failure to align and grab the pointer  
						
						
						
						
					 
					
						2021-01-20 22:45:48 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						3bccd9c45e 
					 
					
						
						
							
							[client] spice: input:captureOnly shouldn't capture the pointer at start  
						
						
						
						
					 
					
						2021-01-20 22:16:03 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						947ba9bfe3 
					 
					
						
						
							
							[client] spice: fix input:captureOnly support  
						
						
						
						
					 
					
						2021-01-20 22:12:39 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						4ca4fd35ad 
					 
					
						
						
							
							[client] doc: added win:rotate and keybind to README.md  
						
						
						
						
					 
					
						2021-01-20 15:37:23 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						8fa2b5f368 
					 
					
						
						
							
							[client] config: make the help text for winRotate more descriptive  
						
						
						
						
					 
					
						2021-01-20 15:35:13 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						8cb0cbb91d 
					 
					
						
						
							
							[client] doc: update README.md with new libraries and backend config  
						
						
						
						
					 
					
						2021-01-20 15:33:56 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						d6f39d66bf 
					 
					
						
						
							
							[client] x11: xi is now a required library for the x11 backend  
						
						
						
						
					 
					
						2021-01-20 15:33:34 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						ab79dae0b8 
					 
					
						
						
							
							[client] cmake: fix typo in cmake configuration  
						
						
						
						
					 
					
						2021-01-20 15:33:10 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						ee8c883201 
					 
					
						
						
							
							[client] x11: implement screensaver (un)inhibit  
						
						
						
						
					 
					
						2021-01-20 15:24:10 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						d1043e590a 
					 
					
						
						
							
							[client] x11: register for absolute motion events while grabbed  
						
						
						
						
					 
					
						2021-01-20 05:51:18 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						5789a7efc0 
					 
					
						
						
							
							[client] x11: fix failure to process the correct focus events  
						
						
						
						
					 
					
						2021-01-20 05:41:33 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						f883c630f6 
					 
					
						
						
							
							[client] spice: set inView false if the focus is lost  
						
						... 
						
						
						
						Failure to do this results in loss of input on X11 as we need to be sure
the cursor is ungrabbed. 
						
						
					 
					
						2021-01-20 05:07:55 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						ac3333c0d2 
					 
					
						
						
							
							[client] x11: switch to using XInput2 for all events and warp  
						
						... 
						
						
						
						On platforms like KDE, mixing X core events with XInput2 events causes
issues, so just switch entirely over to XInput2. 
						
						
					 
					
						2021-01-20 04:53:43 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						da65c47245 
					 
					
						
						
							
							[client] spice: fix transposed cursor scale calculations  
						
						
						
						
					 
					
						2021-01-20 04:53:43 +11:00 
						 
				 
			
				
					
						
							
							
								Xiretza 
							
						 
					 
					
						
						
							
						
						31ea93dd0d 
					 
					
						
						
							
							[client] Fix compiler warnings about potentially uninitialized variables  
						
						... 
						
						
						
						Build failed with _FORTIFY_SOURCE enabled because the compiler couldn't
ensure the switch statements didn't hit the default arm and thus wouldn't
define the variables. Adding a statically failing assert makes sure that
all code paths either define the variables or fail early.
$ cd client
$ env CFLAGS='-O1 -D_FORTIFY_SOURCE=1' cmake -B build/
$ make -C build
[...]
client/renderers/EGL/egl.c: In function ‘egl_calc_mouse_size’:
client/renderers/EGL/egl.c:299:36: error: ‘h’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  299 |         (this->mouseHeight * (1.0f / h)) * this->scaleY
      |                              ~~~~~~^~~~ 
						
						
					 
					
						2021-01-20 03:05:30 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						6d162cf92d 
					 
					
						
						
							
							[client] spice: remove useless check, the displayserver should do this  
						
						
						
						
					 
					
						2021-01-20 01:34:52 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						8f07744c98 
					 
					
						
						
							
							[client] don't hide the cursor unconditionally at startup  
						
						
						
						
					 
					
						2021-01-20 01:27:38 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						dacc573650 
					 
					
						
						
							
							[client] spice: align the guest pointer to local when entering the view  
						
						
						
						
					 
					
						2021-01-20 01:24:31 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						555891face 
					 
					
						
						
							
							[client] x11: filter out grab/ungrab focus/leave events  
						
						
						
						
					 
					
						2021-01-20 01:21:19 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						8e604667f9 
					 
					
						
						
							
							[client] fix regression causing failure to warp when exiting the window  
						
						
						
						
					 
					
						2021-01-20 00:52:33 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						3774d2bfe9 
					 
					
						
						
							
							[client] realign the pointer when input is re-enabled  
						
						
						
						
					 
					
						2021-01-20 00:30:04 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						31eafee468 
					 
					
						
						
							
							[client] always show the cursor when not using spice ( fixes   #409 )  
						
						
						
						
					 
					
						2021-01-20 00:28:27 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						2bfcfa36df 
					 
					
						
						
							
							[client] all: fix regression with input disable toggle  
						
						
						
						
					 
					
						2021-01-20 00:23:24 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						819562d906 
					 
					
						
						
							
							[client] fix keybind regression for EGL  
						
						
						
						
					 
					
						2021-01-19 21:12:20 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						0c8ce9daba 
					 
					
						
						
							
							[client] x11: filter out duplicate button press events  
						
						
						
						
					 
					
						2021-01-19 21:06:30 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						c667322f25 
					 
					
						
						
							
							[client] x11: cosmetic, rename device to raw for raw events  
						
						
						
						
					 
					
						2021-01-19 20:47:25 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						07c13a9d43 
					 
					
						
						
							
							[client] x11: fix regression, raw event's dont give us the cursor pos  
						
						
						
						
					 
					
						2021-01-19 20:46:12 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						0bd1bb5075 
					 
					
						
						
							
							[client] x11: removed left behind ifdef for XINPUT  
						
						
						
						
					 
					
						2021-01-19 20:37:15 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						f9faa0542b 
					 
					
						
						
							
							[client] x11: use raw keyboard and mouse button press events  
						
						
						
						
					 
					
						2021-01-19 20:36:43 +11:00