beb84940cf 
								
							
								 
							
						 
						
							
							
								
								Improve no device detection support  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3ac10a81bd 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #94  from martinetd/libinput_no_device  
							
							... 
							
							
 
							
							libinput: fail if no input found on init 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								901c14c409 
								
							
								 
							
						 
						
							
							
								
								Prevent alloc errors from crashing in `list_t`  
							
							... 
							
							
 
							
							This commit changes the `list_t` api so that alloc errors can be
detected and worked around. Also fixes errors not found in 5cc7342 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								880c239657 
								
							
								 
							
						 
						
							
							
								
								libinput: fail if no input found on init  
							
							... 
							
							
 
							
							This runs through events pending at init on initialization so we can
tell if some devices are available.
Note that with the way wlr_device_lists is managed, this checks that
there is at least one device we handle - it doesn't have to be a
keyboard, but there is at least a mouse or tablet_pad or something
that we care about.
Instead of failing inconditionally it might be better to leave the
decision to the user, e.g. add a "backend_has_devices" function to
call later.
(Tested by moving /dev/input off)
Fixes  #24 . 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								27c13d621d 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #88  from 4e554c4c/alloc_crashing  
							
							... 
							
							
 
							
							Prevent alloc errors from crashing 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d2e796edb7 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #86  from nyorain/master  
							
							... 
							
							
 
							
							Fix style issues 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								5cc7342606 
								
							
								 
							
						 
						
							
							
								
								Prevent alloc errors from crashing  
							
							... 
							
							
 
							
							Resolves  #76  
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d7dcbbc175 
								
							
								 
							
						 
						
							
							
								
								Add wayland backend cursor support  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f998bb8299 
								
							
								 
							
						 
						
							
							
								
								Fix style issues  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e922e62924 
								
							
								 
							
						 
						
							
							
								
								wayland input_device_destroy: add missing braces  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								4bbf718e7d 
								
							
								 
							
						 
						
							
							
								
								impl->destroy cleanup:  
							
							... 
							
							
 
							
							- remove trivial destroy() function
 - make sure we check impl and impl->destroy before calling
 - always call free if not implemented 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ba20d5b3ca 
								
							
								 
							
						 
						
							
							
								
								Refactor out wlr_touch_state  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								bd67849c03 
								
							
								 
							
						 
						
							
							
								
								Refactor out wlr_tablet_tool_state  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a289940bff 
								
							
								 
							
						 
						
							
							
								
								Refactor out wlr_tablet_pad_state  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								53e7bebd23 
								
							
								 
							
						 
						
							
							
								
								Refactor out wlr_pointer_state  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0a3246ad97 
								
							
								 
							
						 
						
							
							
								
								Refactor out wlr_keyboard_state  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e6ad67911b 
								
							
								 
							
						 
						
							
							
								
								Refactor out wlr_input_device_state  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								9a9dd15d5f 
								
							
								 
							
						 
						
							
							
								
								Fix wlr_multi_backend_add incorrect assert  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c8c6619146 
								
							
								 
							
						 
						
							
							
								
								Refactor out wlr_output_mode_state  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								de66bdb867 
								
							
								 
							
						 
						
							
							
								
								Add backend detection functions  
							
							... 
							
							
 
							
							Resolves  #80  
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								41e735242d 
								
							
								 
							
						 
						
							
							
								
								Remove wlr_output_state, update backends  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								4386816889 
								
							
								 
							
						 
						
							
							
								
								wlr_backend_init -> wlr_backend_start  
							
							... 
							
							
 
							
							Also renames create to init. We'll use create for anything that
allocates and init for anything that takes a pointer and initializes it. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								43fb40e949 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #79  from martinetd/libinput_renaming  
							
							... 
							
							
 
							
							Libinput renaming 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e6a7817e45 
								
							
								 
							
						 
						
							
							
								
								Fix build on systems without systemd  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								5c82d2f5c3 
								
							
								 
							
						 
						
							
							
								
								libinput backend: massive renaming  
							
							... 
							
							
 
							
							- 'libinput' (backend's) to libinput_context
- 'device' (libinput_device) to libinput_dev
- 'dev' (wlr_device) to wlr_dev
- 'devices' lists tangling of libinput devices to wlr_devices
- 'devices' list of wlr_devices in backend state to wlr_device_lists 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								08a2afdf6f 
								
							
								 
							
						 
						
							
							
								
								libinput backend: match logging for removal and add  
							
							... 
							
							
 
							
							Only log removal of devices once, but also log it for devices
that we do not care about. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								701e147b9b 
								
							
								 
							
						 
						
							
							
								
								libinput: remove useless get_context call  
							
							... 
							
							
 
							
							That function is literally just "return event->device->seat->libinput"
We do not use context, so do not fetch it. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f2e2794365 
								
							
								 
							
						 
						
							
							
								
								wayland backend: do not watch wayland fd for writable  
							
							... 
							
							
 
							
							Wayland fd is always writable and will busy-loop.
The dispatch function gets called with 0-mask when we need to flush
display anyway, so this saves CPU at no visible impact. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								60d1131df2 
								
							
								 
							
						 
						
							
							
								
								Re-enable backend autoselection  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								234b2104e4 
								
							
								 
							
						 
						
							
							
								
								Refactor wlr_backend_state out of DRM backend  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c95a108d2f 
								
							
								 
							
						 
						
							
							
								
								Update libinput backend with new state design  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								81cd90297d 
								
							
								 
							
						 
						
							
							
								
								Refactor out wlr_backend_state from wl/multi  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3e2cb5b5cf 
								
							
								 
							
						 
						
							
							
								
								libinput: fix segfault when handling non-wlr device removal  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3ea878b76e 
								
							
								 
							
						 
						
							
							
								
								wayland backend: free seatName  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8427749dd0 
								
							
								 
							
						 
						
							
							
								
								wayland backend: emit signal for input/output removal  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								de86965174 
								
							
								 
							
						 
						
							
							
								
								Use libinput_event_destroy/xkb_*_unref  
							
							... 
							
							
 
							
							Also sneak in a missing drmModeFreePlaneResources 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e1293a7853 
								
							
								 
							
						 
						
							
							
								
								libinput: signal input remove on libinput backend destroy  
							
							... 
							
							
 
							
							This lets the upper crust cleanup and free their own states 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								be3a0ad065 
								
							
								 
							
						 
						
							
							
								
								libinput backend: fill in handle_device_removed  
							
							... 
							
							
 
							
							And fix input_remove_notify accordingly 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c42674bc25 
								
							
								 
							
						 
						
							
							
								
								Fix libinput destroy for devices with multiple capabilities  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0354aaeff2 
								
							
								 
							
						 
						
							
							
								
								Complete a few destroy functions  
							
							... 
							
							
 
							
							This adds missing free calls for:
 - drm outputs
 - libinput backend in general
 - final udev free
 - output mode state 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0663b6d1e1 
								
							
								 
							
						 
						
							
							
								
								Build libinput events on the stack instead of allocating  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								62d8b252c0 
								
							
								 
							
						 
						
							
							
								
								Refactor meson and move xdg-shell into wlroots  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								6569c2b626 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #53  from nyorain/drm_buffer  
							
							... 
							
							
 
							
							Implement drm (egl) buffer attaching 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c24351681f 
								
							
								 
							
						 
						
							
							
								
								Refactor EGL handling  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								fe2fbd0fad 
								
							
								 
							
						 
						
							
							
								
								Fix possible use of CRTC after monitor is unplugged  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								4aaf76cb66 
								
							
								 
							
						 
						
							
							
								
								wlr_output_update_matrix during wl backend init  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								073dff63da 
								
							
								 
							
						 
						
							
							
								
								Fix style issues  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								67369173aa 
								
							
								 
							
						 
						
							
							
								
								Implement drm (egl) buffer attaching  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a77fac0760 
								
							
								 
							
						 
						
							
							
								
								Added null check on crtc  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								af67966d92 
								
							
								 
							
						 
						
							
							
								
								Atomic modesetting  
							
							
 
							
						 
						
							8 years ago