640f3b9f21 
								
							
								 
							
						 
						
							
							
								
								Revert "Copy xcb_icccm structs into wlroots"  
							
							... 
							
							
 
							
							The original commit introduced a bug by transposing the order of
some of the fields in xcb_size_hints_t.  Since XCB ICCCM support is
required now, we can just eliminate the duplicate structs.
With minor changes:
- Remove #ifdef HAS_XCB_ICCCM guards
- Fix #includes
- Fix references to local size_hints struct
This reverts commit 12b9b1a4bd 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d3a2ea33e5 
								
							
								 
							
						 
						
							
							
								
								types/seat/wlr_seat.c: fix focused_client being null after seat_client recreation  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2d4e813530 
								
							
								 
							
						 
						
							
							
								
								types/wlr_pointer_gestures_v1.c: get client from seat client instead of resource  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								eedb9df531 
								
							
								 
							
						 
						
							
							
								
								types/wlr_pointer_gestures_v1: null-check both focused_surface and focused_client  
							
							... 
							
							
 
							
							(fixes  #3385 ) 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4ba8458255 
								
							
								 
							
						 
						
							
							
								
								scene/output-layout: fix scene destroy handler  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dec2565f2b 
								
							
								 
							
						 
						
							
							
								
								xdg-toplevel: don't schedule configures on state requests  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								04aa44b4df 
								
							
								 
							
						 
						
							
							
								
								xdg-foreign-v2: treat unmapped parents as NULL  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dac040f87f 
								
							
								 
							
						 
						
							
							
								
								xdg-foreign-v1: treat unmapped parents as NULL  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								bf3f60ff73 
								
							
								 
							
						 
						
							
							
								
								xdg-toplevel: treat unmapped parents as NULL  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2e14bed9f7 
								
							
								 
							
						 
						
							
							
								
								meson: use target_machine instead of host_machine  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								578e5614d4 
								
							
								 
							
						 
						
							
							
								
								tinywl: remove outdated non-feature from README.md  
							
							... 
							
							
 
							
							Now that tinywl uses wlr_scene under the hood, damage tracking comes for
free. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								62fbf3f4ba 
								
							
								 
							
						 
						
							
							
								
								tinywl: don't generate xdg-shell-protocol.c  
							
							... 
							
							
 
							
							It's unused, and wlroots-based compositors don't need to do this anyway. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								bb32349c97 
								
							
								 
							
						 
						
							
							
								
								meson: soversion arg should be string  
							
							... 
							
							
 
							
							muon, a meson implementation in C, is more strict with its types and
revealed this discrepancy between meson behavior and documentation. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dd03d839ab 
								
							
								 
							
						 
						
							
							
								
								xdg-activation: Deduplicate token creation code  
							
							... 
							
							
 
							
							There were three places initializing a token:
- wlr_xdg_activation_v1_add_token
- wlr_xdg_activation_token_v1_create
- activation_handle_get_activation_token
The initialization of the token.destroy was missing in the first one. To
prevent these functions from getting out of sync move the token creation
into a common function.
Fixes 4c59f7d4 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4519117a68 
								
							
								 
							
						 
						
							
							
								
								seat: take wlr_keyboard in wlr_seat_set_keyboard()  
							
							... 
							
							
 
							
							Signed-off-by: Leonardo Hernández Hernández <leohdz172@protonmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4cc2a03620 
								
							
								 
							
						 
						
							
							
								
								layer-shell: Make wlr_layer_surface_v1_from_resource public  
							
							... 
							
							
 
							
							This allows compositors to leverage the `wl_instance_of` based type
check. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								aaf787ee56 
								
							
								 
							
						 
						
							
							
								
								types/wlr_touch: uniformize events name  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e732c5c895 
								
							
								 
							
						 
						
							
							
								
								types/wlr_tablet_tool: uniformize events name  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d1f543a9d8 
								
							
								 
							
						 
						
							
							
								
								types/wlr_tablet_pad: uniformize events name  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								13d7fa2f03 
								
							
								 
							
						 
						
							
							
								
								types/wlr_switch: uniformize events name  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9a17200446 
								
							
								 
							
						 
						
							
							
								
								types/wlr_keyboard: uniformize events name  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								bd6c000d14 
								
							
								 
							
						 
						
							
							
								
								types/wlr_pointer: uniformize events name  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								96ccc50c57 
								
							
								 
							
						 
						
							
							
								
								types/wlr_input_device: move width_mm and height_mm fields to wlr_tablet and wlr_touch  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a92e5f8d46 
								
							
								 
							
						 
						
							
							
								
								types/wlr_input_device: move output_name field to wlr_pointer and wlr_touch  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2001441a37 
								
							
								 
							
						 
						
							
							
								
								backend/wayland: remove wl_seat_listener from public API  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b7e9ad7989 
								
							
								 
							
						 
						
							
							
								
								backend/wayland: remove wlr_wl_input_device  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								56f7c000b5 
								
							
								 
							
						 
						
							
							
								
								backend/wayland/tablet_v2: give wlr_tablet_* ownership to wlr_wl_seat  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d3fb44314c 
								
							
								 
							
						 
						
							
							
								
								backend/wayland: give wlr_touch ownership to wlr_wl_seat  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e723dd928b 
								
							
								 
							
						 
						
							
							
								
								backend/wayland: drop wlr_switch support  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								be8527bd36 
								
							
								 
							
						 
						
							
							
								
								backend/wayland: give wlr_pointer ownership to wlr_wl_seat  
							
							... 
							
							
 
							
							All the code logic related to the pointer has been moved to its own file.
The seat is responsible for the lifetime of its wlr_wl_pointer(s), and assigning
them to the relevant wlr_wl_output. The wlr_wl_pointer becomes a simple helper
to manager the wlr_pointer associated to the seat's wl_pointer and its lifetime. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f9b6aa3079 
								
							
								 
							
						 
						
							
							
								
								backend/wayland: give wlr_keyboard ownership to wlr_wl_seat  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								64fe6ab300 
								
							
								 
							
						 
						
							
							
								
								tinywl: init cursor_mode  
							
							... 
							
							
 
							
							valgrind complains on a use-before-init for the cursor mode. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								74381f3bc3 
								
							
								 
							
						 
						
							
							
								
								types/wlr_output: Handle subpixel hints through output commits  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								68f2f8cf92 
								
							
								 
							
						 
						
							
							
								
								Revert "scene: try to import buffers as textures before rendering"  
							
							... 
							
							
 
							
							This reverts commit 3db1bcbe64https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3464  
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2d623724c3 
								
							
								 
							
						 
						
							
							
								
								xdg-positioner: fix sliding regression  
							
							... 
							
							
 
							
							This commit fixes a regression introduced in
511f137f8f 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								104060fec5 
								
							
								 
							
						 
						
							
							
								
								Free drmDevice in get_egl_device_from_drm_fd()  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5c17452ae0 
								
									
								
							
								 
							
						 
						
							
							
								
								Pass O_CLOEXEC to drmModeCreateLease calls  
							
							... 
							
							
 
							
							The lease_fd is currently being leaked to child processes
Link: https://github.com/swaywm/sway/issues/4286#issuecomment-1065987957  
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4c8ecfcd4a 
								
							
								 
							
						 
						
							
							
								
								types/wlr_virtual_pointer_v1: remove destroy event  
							
							... 
							
							
 
							
							The destroy event from the pointer base wlr_input_device must be used 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								45c8771735 
								
							
								 
							
						 
						
							
							
								
								types/wlr_virtual_keyboard_v1: remove destroy event  
							
							... 
							
							
 
							
							The destroy event from the keyboard base wlr_input_device must be used 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								eae8952e17 
								
							
								 
							
						 
						
							
							
								
								types/wlr_keyboard: remove destroy event  
							
							... 
							
							
 
							
							The destroy event from the base wlr_input_device must be used 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7a2c96dcbd 
								
							
								 
							
						 
						
							
							
								
								types/wlr_tablet_tool: remove name ambiguity  
							
							... 
							
							
 
							
							It wasn't clear in the backend whether to use name or base.name, change
it so base.name has to be used.
Fixes https://github.com/swaywm/sway/issues/6884  
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								13fcdba75c 
								
							
								 
							
						 
						
							
							
								
								wlr_output_layout_contains_point: handle outputs that aren't in the layout  
							
							... 
							
							
 
							
							Instead of crashing, return `false` when the specified output isn't part
of the layout, as we can be sure that it doesn't contain the specified
point. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2dd121235e 
								
							
								 
							
						 
						
							
							
								
								xcursor: support XDG Base Directory Specification  
							
							... 
							
							
 
							
							This patch adds ~/.local/share/icons to the search path, so user-specific
themes can be loaded through the API provided by libwayland-cursor.
Use this PR as reference:
https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/112  
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f330759ba4 
								
							
								 
							
						 
						
							
							
								
								wlr_output_damage: Don't schedule a new frame if damage region does not intersect with output  
							
							... 
							
							
 
							
							This fixed adaptive sync issues with wlr_scene. Scenes don't check
if the damage region intersects with an output when calling
wlr_output_damage_add.
This is especially important for multi output. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								fbd4d40318 
								
							
								 
							
						 
						
							
							
								
								wlr_output_damage: Use wlr_output_damage_add for wlr_output_damage_add_box  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4792446ee8 
								
							
								 
							
						 
						
							
							
								
								wlr_switch: remove WLR_SWITCH_STATE_TOGGLE  
							
							... 
							
							
 
							
							This was originally added in 810c7b7 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								cfed039c9a 
								
							
								 
							
						 
						
							
							
								
								types/wlr_input_device: move init and finish function to private API  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1bb2631c5c 
								
							
								 
							
						 
						
							
							
								
								types/wlr_input_device: remove wlr_input_device_destroy  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9d8dc026e5 
								
							
								 
							
						 
						
							
							
								
								tinywl: destroy keyboard on wlr_input_device event  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								10cbb9fbe1 
								
							
								 
							
						 
						
							
							
								
								interface/wlr_touch: rework destroy sequence  
							
							... 
							
							
 
							
							The destroy callback in wlr_touch_impl has been removed. The function
`wlr_touch_finish` has been introduced to clean up the resources owned by a
wlr_touch.
`wlr_input_device_destroy` no longer destroys the wlr_touch, attempting to
destroy a wlr_touch will result in a no-op.
The field `name` has been added to the wlr_touch_impl to be able to identify
a given wlr_touch device. 
							
						 
						
							4 years ago