mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Fix seamless mouse via SPICE for macOS by only using VGA. Close #222
This commit is contained in:
		
							parent
							
								
									d3506d1c4a
								
							
						
					
					
						commit
						9197e0c981
					
				
					 1 changed files with 4 additions and 7 deletions
				
			
		
							
								
								
									
										11
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -633,15 +633,12 @@ function vm_boot() { | |||
|       *) DISPLAY_DEVICE="virtio-vga";; | ||||
|     esac | ||||
|   elif [ "${guest_os}" == "macos" ]; then | ||||
|     # Tweak video device based on the guest macOS release. | ||||
|     # Displays in System Preferences can be used to select a resolution if: | ||||
|     #  - qxl is used on Big Sur and Catalina | ||||
|     #  - VGA is used on Mojave, although available resolutions are all 4:3 | ||||
|     #  - Mojave only offers 4:3 resolutions | ||||
|     #  - High Sierra will run at the default 1920x1080 only. | ||||
|     case ${macos_release} in | ||||
|       catalina|big-sur|monterey) DISPLAY_DEVICE="qxl";; | ||||
|       *) DISPLAY_DEVICE="VGA";; | ||||
|     esac | ||||
|     # QXL prevents seamless mouse working with a SPICE client | ||||
|     #  - https://github.com/wimpysworld/quickemu/issues/222 | ||||
|     DISPLAY_DEVICE="VGA" | ||||
|   elif [ "${guest_os}" == "windows" ]; then | ||||
|     DISPLAY_DEVICE="qxl-vga" | ||||
|   else | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue