Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						420eaebb71 
					 
					
						
						
							
							[cmake] all: update cmake_minimum_required version to 3.10  
						
						
						
						
					 
					
						2025-03-05 12:27:23 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						551298ed5b 
					 
					
						
						
							
							[doc] all: update copyright year  
						
						
						
						
					 
					
						2025-03-05 12:24:38 +11:00 
						 
				 
			
				
					
						
							
							
								rs189 
							
						 
					 
					
						
						
							
						
						e25492a3a3 
					 
					
						
						
							
							[client] x11/wayland: add application id  
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	build / client (Debug, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled 
				
			 
		
			
				
	build / client (Debug, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled 
				
			 
		
			
				
	build / client (Debug, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled 
				
			 
		
			
				
	build / client (Debug, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled 
				
			 
		
			
				
	build / client (Release, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled 
				
			 
		
			
				
	build / client (Release, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled 
				
			 
		
			
				
	build / client (Release, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled 
				
			 
		
			
				
	build / client (Release, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled 
				
			 
		
			
				
	build / module (push) Has been cancelled 
				
			 
		
			
				
	build / host-linux (push) Has been cancelled 
				
			 
		
			
				
	build / host-windows-cross (push) Has been cancelled 
				
			 
		
			
				
	build / host-windows-native (push) Has been cancelled 
				
			 
		
			
				
	build / obs (clang) (push) Has been cancelled 
				
			 
		
			
				
	build / obs (gcc) (push) Has been cancelled 
				
			 
		
			
				
	build / docs (push) Has been cancelled 
				
			 
		
		
	 
 
	 
						
						
					 
					
						2024-10-15 11:52:10 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						7f515c54b3 
					 
					
						
						
							
							[client] x11/i3: fix fullscreen at launch via parameter/config  
						
						
						
						
					 
					
						2024-03-14 12:56:39 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						0b210a280d 
					 
					
						
						
							
							[all] update the copyright to 2024  
						
						
						
						
					 
					
						2024-02-01 17:16:31 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						c2237f29ae 
					 
					
						
						
							
							[client] x11: fix typo  
						
						... 
						
						
						
						Closes  #1105  
					
						2024-01-02 08:51:13 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						8cd002f1b2 
					 
					
						
						
							
							[client] x11: fix incorrect pointer reference, fixes clipboard  
						
						... 
						
						
						
						Thanks to @JJRcop for bisecting to discover the fault 
						
						
					 
					
						2023-12-01 09:12:38 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						cf51503a54 
					 
					
						
						
							
							[client] X11/i3: write directly into sun_path to avoid strncpy  
						
						
						
						
					 
					
						2023-11-11 13:48:41 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						b70811dcb9 
					 
					
						
						
							
							[client] x11: pass large struct by reference  
						
						
						
						
					 
					
						2023-11-11 13:48:41 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						138a0aee53 
					 
					
						
						
							
							[all] update cmake minimum version  
						
						
						
						
					 
					
						2023-11-10 06:28:05 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						2e515657dd 
					 
					
						
						
							
							[all] update/add license headers  
						
						
						
						
					 
					
						2023-10-20 15:36:34 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						e658c2e0a2 
					 
					
						
						
							
							[client] x11: change to a more visible "dot" cursor  
						
						... 
						
						
						
						This change alters the small square dot cursor to a more visible 16x16
cursor for X11. A new option `spice:largeDotCursor` can be set to use an
alternative 32x32 cursor for the vision impaired. 
						
						
					 
					
						2023-09-13 21:54:31 +10:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						82607a7d6f 
					 
					
						
						
							
							[client] x11: read the i3 IPC response  
						
						
						
						
					 
					
						2023-09-12 02:03:24 +10:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						24d4fce17c 
					 
					
						
						
							
							[client] x11: add support for i3 global full screen toggle  
						
						... 
						
						
						
						This commit adds an interface to the X11 display server code to support
various window manage specific features, such as in this case, the i3
global full screen toggle.
This feature specifically uses the i3 IPC to cause looking glass to go
full screen across all monitors if the new option `i3:globalFullScreen`
is enabled. 
						
						
					 
					
						2023-09-12 01:19:06 +10:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						8dba4b6c0b 
					 
					
						
						
							
							[client] x11: fix cleanup if XIQueryVersion fails  
						
						
						
						
					 
					
						2023-09-11 23:41:52 +10:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						894b8b0c22 
					 
					
						
						
							
							[client] x11: generate synthetic EnterNotify event on cursor leave  
						
						... 
						
						
						
						If the cursor was grabbed the window the cursor moves over when it is
ungrabbed will recieve an EnterNotify event with the mode of
NotifyUngrab, unfortunatly some window manages such as i3 will ignore
this message and as such focus follows mouse will not function
correctly. This patch injects a normal EnterNotify to work around this
issue. 
						
						
					 
					
						2023-03-05 16:42:47 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						6f8e6f9a19 
					 
					
						
						
							
							[client] x11: catch and print details of X11 errors with a backtrace  
						
						
						
						
					 
					
						2023-01-05 17:33:01 +11:00 
						 
				 
			
				
					
						
							
							
								Ali Abdel-Qader 
							
						 
					 
					
						
						
							
						
						352cd2fafe 
					 
					
						
						
							
							[client] remove non-prototype function declarations  
						
						... 
						
						
						
						With -Wstrict-prototypes on non-protyped functions are deprecated and
functions must include a void parameter if they do not take parameters. 
						
						
					 
					
						2022-11-01 08:03:15 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						5385853f3f 
					 
					
						
						
							
							[client] x11: set _NET_WM_PID  
						
						... 
						
						
						
						Fixes  #1013  
					
						2022-09-18 10:10:13 +10:00 
						 
				 
			
				
					
						
							
							
								Quantum 
							
						 
					 
					
						
						
							
						
						0dabfdc432 
					 
					
						
						
							
							[client] displayservers: add name field  
						
						
						
						
					 
					
						2022-07-13 07:05:07 +10:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						9a9f9d433e 
					 
					
						
						
							
							[client] x11: add dependency on xkbcommon  
						
						
						
						
					 
					
						2022-06-30 15:09:24 +10:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						da04a6dd54 
					 
					
						
						
							
							[client] all: use the defined keyboard mapping for keybinds  
						
						... 
						
						
						
						Fixes  #1007  
					
						2022-06-29 18:26:40 +10:00 
						 
				 
			
				
					
						
							
							
								Quantum 
							
						 
					 
					
						
						
							
						
						a8521b821e 
					 
					
						
						
							
							[all] cmake: standardize indentation to 2 spaces  
						
						
						
						
					 
					
						2022-05-29 11:16:16 +10:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						d7704b13c0 
					 
					
						
						
							
							[client] x11: set window posision before entering fullscreen  
						
						... 
						
						
						
						This fixes an issue where the window position would be ignored if the
application was launched in full screen mode from the command line
causing the client to enter full screen on the wrong monitor in
multi-monitor configurations. 
						
						
					 
					
						2022-05-15 20:41:06 +10:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						3b55ac5420 
					 
					
						
						
							
							[client] x11: check for null data from XGetWindowProperty  
						
						... 
						
						
						
						This fixes a reported segfault when a window manager fails to provide
valid EWMH values.
Fixes  #987  
						
						
					 
					
						2022-05-15 16:38:17 +10:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						3a8cb6a613 
					 
					
						
						
							
							[client/common] fixes for issues detected through static analysis.  
						
						
						
						
					 
					
						2022-03-07 10:14:52 +11:00 
						 
				 
			
				
					
						
							
							
								Tudor Brindus 
							
						 
					 
					
						
						
							
						
						91d6e3a82a 
					 
					
						
						
							
							[client] allow building with -Wstrict-prototypes  
						
						... 
						
						
						
						This is not yet turned on because cimgui does not build with it enabled. 
						
						
					 
					
						2022-02-25 20:38:44 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						29698362ed 
					 
					
						
						
							
							[client] x11: added request activation support  
						
						
						
						
					 
					
						2022-02-10 20:20:34 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						f24db8d0cd 
					 
					
						
						
							
							Revert "[client] x11: check if the EWMH atoms exist before using them"  
						
						... 
						
						
						
						This reverts commit cfd2e6ff32 
						
						
					 
					
						2022-02-10 13:36:40 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						cfd2e6ff32 
					 
					
						
						
							
							[client] x11: check if the EWMH atoms exist before using them  
						
						
						
						
					 
					
						2022-02-10 13:35:19 +11:00 
						 
				 
			
				
					
						
							
							
								Netboy3 
							
						 
					 
					
						
						
							
						
						e0c0451b52 
					 
					
						
						
							
							[client] x11: Add inline icon  
						
						... 
						
						
						
						Many X11 window managers will present an application on their
taskbar as a combination of the application name and an icon
imagery pulled from the X-Property _NET_WM_ICON. Applications
built under frameworks such as Qt or GTK have this property
populated by the framework. This commit adds the Atom _NET_WM_ICON
and populates it with a 64x64 icon of Looking Glass. 
						
						
					 
					
						2022-02-09 12:07:55 +11:00 
						 
				 
			
				
					
						
							
							
								Tudor Brindus 
							
						 
					 
					
						
						
							
						
						da548e3858 
					 
					
						
						
							
							[client] ds: expose activation requesting  
						
						
						
						
					 
					
						2022-02-08 14:54:55 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						05e363e009 
					 
					
						
						
							
							[client] x11: cleanup duplicated code  
						
						
						
						
					 
					
						2022-01-26 15:30:38 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						e17b289759 
					 
					
						
						
							
							[client] x11: sync the mouse on meta resize  
						
						
						
						
					 
					
						2022-01-26 14:55:30 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						79e986cc60 
					 
					
						
						
							
							[client] x11: fix failure to unfocus when performing meta resize/move  
						
						
						
						
					 
					
						2022-01-26 14:43:11 +11:00 
						 
				 
			
				
					
						
							
							
								Chris Spencer 
							
						 
					 
					
						
						
							
						
						786a252b23 
					 
					
						
						
							
							[client] x11: don't use primary selection for clipboard  
						
						... 
						
						
						
						This behaviour is more consistent with other applications where text
selections do not influence explicit clipboard operations. 
						
						
					 
					
						2022-01-13 08:18:56 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						952ebea2c5 
					 
					
						
						
							
							[all] refresh copyright dates  
						
						
						
						
					 
					
						2022-01-05 19:42:46 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						ad40ea4195 
					 
					
						
						
							
							[client] x11: don't override the focus state if no EWMH focus support  
						
						
						
						
					 
					
						2021-12-22 11:25:54 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						65948034dd 
					 
					
						
						
							
							[client] x11: be more agressive grabbing the pointer  
						
						
						
						
					 
					
						2021-12-21 21:51:43 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						27c7054505 
					 
					
						
						
							
							[client] x11: protect against msc overflow with jitRender  
						
						
						
						
					 
					
						2021-12-21 10:47:55 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						02b59ba8f7 
					 
					
						
						
							
							[client] x11: don't use the atomic msc value when we already have it  
						
						
						
						
					 
					
						2021-12-21 10:47:11 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						5f80ce91e8 
					 
					
						
						
							
							[client] x11: fix broken grab retry logic  
						
						
						
						
					 
					
						2021-12-15 01:43:09 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						b6fa296d5a 
					 
					
						
						
							
							[client] x11: work around issue with desktop switch on i3  
						
						... 
						
						
						
						For an unknwon reason when LG is on another desktop (hidden) and the
user switches to that desktop, the first attempt to grab the pointer
results in a GrabFrozen result. This adds some simple retry logic to
attempt again after a short (100ms) delay which seems to resolve the
issue. 
						
						
					 
					
						2021-12-15 00:23:44 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						2e170ad06f 
					 
					
						
						
							
							[client] x11: properly detect WMEH support for focus events  
						
						
						
						
					 
					
						2021-12-15 00:17:33 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						88a95aeab0 
					 
					
						
						
							
							[client] x11: fix issue with grab when clicking on the unfocused window  
						
						... 
						
						
						
						Fixes  #856  
					
						2021-12-10 05:27:58 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						9780f51558 
					 
					
						
						
							
							[client] x11: fix failure to set window position correctly when set  
						
						
						
						
					 
					
						2021-11-30 13:04:39 +11:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						9c5e34df0f 
					 
					
						
						
							
							[client] x11: handle EINTR properly in epoll loop  
						
						
						
						
					 
					
						2021-10-20 15:40:50 +11:00 
						 
				 
			
				
					
						
							
							
								Quantum 
							
						 
					 
					
						
						
							
						
						12840a8324 
					 
					
						
						
							
							[client] x11: load glXSwapIntervalEXT dynamically  
						
						... 
						
						
						
						The Linux OpenGL ABI does not guarantee that glXSwapIntervalEXT will be
exported statically from any library, and indeed on some systems this
function does not link at load time, e.g. with amdgpu-pro. All other
GLX functions that we use are from GLX 1.0, which is guaranteed to be
exported statically.
This commit solves this issue by using glXGetProcAddressARB to load the
function. Note that only the ARB version of glXGetProcAddress is
guaranteed to exist by the Linux OpenGL ABI, which is why we must use
it. 
						
						
					 
					
						2021-09-29 17:47:36 +10:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						ab3738624f 
					 
					
						
						
							
							[client] x11: reduce the scope of deltats  
						
						
						
						
					 
					
						2021-09-11 10:11:00 +10:00 
						 
				 
			
				
					
						
							
							
								Geoffrey McRae 
							
						 
					 
					
						
						
							
						
						25ed3632f7 
					 
					
						
						
							
							[client] x11: remove dead code  
						
						
						
						
					 
					
						2021-09-11 10:06:52 +10:00