935b6d871e 
								
							
								 
							
						 
						
							
							
								
								fixes use after free caused by signal lists  
							
							... 
							
							
 
							
							A structs throughout the code use implementation specific free
functions.
When those functions are not used, they simply call free() on their
data, but this leaves around wl_signals linked into listeners.
When those listeners try to remove themself from the list, they write
into the now free memory.
This commit adds calls to remove the signals from those lists, so the
listeners can safely call wl_list_remove 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								7d43d662f5 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix gamma_size event sent to wrong resource  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								6f98b5a337 
								
									
								
							
								 
							
						 
						
							
							
								
								Add set_gamma and get_gamma_size to wlr_output_impl  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								cd125377fc 
								
									
								
							
								 
							
						 
						
							
							
								
								Add wlr_output_{set_gamma,get_gamma_size}  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1b588e7c1f 
								
									
								
							
								 
							
						 
						
							
							
								
								Add gamma_control skeleton  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								586ae674ae 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #136  from acrisci/bug/rename-output-layout-create  
							
							... 
							
							
 
							
							Rename wlr_output_layout_init() 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e733b0e643 
								
							
								 
							
						 
						
							
							
								
								Rename wlr_output_layout_init()  
							
							... 
							
							
 
							
							Rename wlr_output_layout_init() to wlr_output_layout_create() to be consistent
with the rest of the api. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								6c24300d13 
								
							
								 
							
						 
						
							
							
								
								wlr_cursor_device create and destroy  
							
							... 
							
							
 
							
							Refactor wlr_cursor_device creation and destruction into their own functions.
Properly unsubscribe from signals in the wlr_cursor_device_destroy function. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								57c18c38bb 
								
							
								 
							
						 
						
							
							
								
								wlr_cursor: handle layout changes  
							
							... 
							
							
 
							
							Add the layout `destroy` and `change` events.
When a layout is destroyed, detach is from the wlr_cursor.
When a layout is changed, warp the cursor to the closest layout boundary. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d84deb0742 
								
							
								 
							
						 
						
							
							
								
								add wlr_output destroy event  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								fa3d4ecc84 
								
							
								 
							
						 
						
							
							
								
								fix layout hotplugging issue in output-layout.c  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f25511ee3d 
								
							
								 
							
						 
						
							
							
								
								refactor wlr_output_layout to use wlr_box  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								40bd6bcc43 
								
							
								 
							
						 
						
							
							
								
								implement output layout auto configuration  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								368f74e4df 
								
							
								 
							
						 
						
							
							
								
								Refactor meson build files  
							
							... 
							
							
 
							
							Use tabs for indentation and break up function calls over 80 col. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d9ab631f5d 
								
							
								 
							
						 
						
							
							
								
								bugfix: set cursor coords on warp_unchecked  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b6031d1065 
								
							
								 
							
						 
						
							
							
								
								refactor wlr_output_layout_closest_point  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								9b65d0b3f0 
								
							
								 
							
						 
						
							
							
								
								refactor and rename wlr_geometry to wlr_box  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a51b76083e 
								
							
								 
							
						 
						
							
							
								
								rename wlr_cursor_init to wlr_cursor_create  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1fb8bc9340 
								
							
								 
							
						 
						
							
							
								
								wlr_cursor.c: fix formatting  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3449777a8d 
								
							
								 
							
						 
						
							
							
								
								wlr_output_layout.c: fix style  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								4fbe322fa6 
								
							
								 
							
						 
						
							
							
								
								fix memory errors  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ab1a12b174 
								
							
								 
							
						 
						
							
							
								
								fix formatting in types/meson.build  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								5c845f14ed 
								
							
								 
							
						 
						
							
							
								
								handle input device destroy  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								df0ee7f25f 
								
							
								 
							
						 
						
							
							
								
								implement tablet tool devices  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0dc3aecfd4 
								
							
								 
							
						 
						
							
							
								
								refactor device mapping calculation  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								5e06d61e42 
								
							
								 
							
						 
						
							
							
								
								implement touch up and touch down  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ed126b0881 
								
							
								 
							
						 
						
							
							
								
								add touch events  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ac503a47a7 
								
							
								 
							
						 
						
							
							
								
								intersect cursor and device regions  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0a97b68278 
								
							
								 
							
						 
						
							
							
								
								implement cursor and device geometry mapping  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								98f4cdfccb 
								
							
								 
							
						 
						
							
							
								
								implement wlr_cursor_map_input_to_output  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								13e895d943 
								
							
								 
							
						 
						
							
							
								
								implement wlr_cursor_map_to_output  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a4810203cc 
								
							
								 
							
						 
						
							
							
								
								change output layout coords to double type  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f69a7afd36 
								
							
								 
							
						 
						
							
							
								
								assert cursor layout for move and warp functions  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0cba06dcef 
								
							
								 
							
						 
						
							
							
								
								implement wlr_cursor_warp  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								dd68f680e4 
								
							
								 
							
						 
						
							
							
								
								handle cursor to output edge cases  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								431e1ddeca 
								
							
								 
							
						 
						
							
							
								
								smooth pointer transitioning between outputs  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								9978349903 
								
							
								 
							
						 
						
							
							
								
								use safe for_each when freeing cursor devices  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e3d47376dc 
								
							
								 
							
						 
						
							
							
								
								add wlr_cursor basic implementation  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3391e5b634 
								
							
								 
							
						 
						
							
							
								
								xwayland: fix style issues  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ea906ea3e2 
								
							
								 
							
						 
						
							
							
								
								wlr surface/shell types: add message on creation  
							
							... 
							
							
 
							
							Not sure if we really want to keep that, would be helpful to get more
logging levels at some point 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3cc5b1acc6 
								
							
								 
							
						 
						
							
							
								
								wlr_compositor: add signal for create_surface  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ee3c5c7fef 
								
							
								 
							
						 
						
							
							
								
								wlr_seat: fix destroy with multiple handles  
							
							... 
							
							
 
							
							Need to use for_each_safe because wl_resource_destroy's callback will
remove the handle from the list itself 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1ca08dc4cb 
								
							
								 
							
						 
						
							
							
								
								wlr_compositor: change _init/finish to _create/destroy  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								4110788159 
								
							
								 
							
						 
						
							
							
								
								move wl_compositor into wlroots as wlr_compositor  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								84c0c87a5d 
								
							
								 
							
						 
						
							
							
								
								wlr_surface: change update_size/damage to bool  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								4da976bfad 
								
							
								 
							
						 
						
							
							
								
								wlr_surface: small refactoring  
							
							... 
							
							
 
							
							- split surface damage and buffer damage
 - the pending buffers are always valid, so can be 'fini'shed
 - consider opaque buffer and input buffer in commit, just to free
 - only update size if scale/transform/buffer changed 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								03b29eb32c 
								
							
								 
							
						 
						
							
							
								
								wlr region/surface: explicitely select interface fields  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								fc1a851415 
								
							
								 
							
						 
						
							
							
								
								wlr_surface: clear/fini buffers when appropriate  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f24b3df980 
								
							
								 
							
						 
						
							
							
								
								wlr renderer/texture: rename init to create when it does alloc  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a1551bccc0 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #107  from nyorain/wlr_data_device_manager  
							
							... 
							
							
 
							
							Implement wlr_data_{source,device,device_manager} 
							
						 
						
							8 years ago