93a496f3a8 
								
							
								 
							
						 
						
							
							
								
								Include wlr/config.h in x11.h  
							
							... 
							
							
 
							
							This fixes a warning from the linker when using LTO, due to mismatched
types. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								7dedfce1ae 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1301  from emersion/cleanup-page-flip  
							
							... 
							
							
 
							
							backend/drm: don't reset conn->pageflip_pending in drm_connector_cleanup 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b66041a9e5 
								
							
								 
							
						 
						
							
							
								
								backend/drm: don't reset conn->pageflip_pending in drm_connector_cleanup  
							
							... 
							
							
 
							
							If a pageflip is pending before cleanup, it's still pending after. This
is used line 1177: drm_connector_cleanup is called and
conn->pageflip_pending is checked afterwards.
Fixes  #1297  
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								8488ed2997 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1298  from emersion/output-dangling-idle-frame  
							
							... 
							
							
 
							
							output: remove idle_frame event source when destroying output 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								feb0614d32 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1299  from Emantor/set-drm-version  
							
							... 
							
							
 
							
							backend/drm: set drmEventContext version to 2 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								77478ac302 
								
							
								 
							
						 
						
							
							
								
								backend/drm: set drmEventContext version to 2  
							
							... 
							
							
 
							
							As per [1] set drmEventContext version to 2, since wlroots does not use the
page_flip_handler2.
[1]: https://s-opensource.org/2017/04/12/libdrm-event-handling-youre-probably-wrong/  
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								46b1ba386f 
								
							
								 
							
						 
						
							
							
								
								output: remove idle_frame event source when destroying output  
							
							... 
							
							
 
							
							This prevents the idle event to be activated on a destroyed
output.
This also makes the backend responsible for free-ing modes, as it
is the one allocating them and adding them to the list. Note that
the DRM backend (the only one using modes) already frees them. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								75005fd58d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1294  from emersion/xcursor-env-config  
							
							... 
							
							
 
							
							rootston: export XCURSOR_SIZE and XCURSOR_THEME 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								885586a831 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1280  from emersion/drm-link-status  
							
							... 
							
							
 
							
							backend/drm: add support for the link-status property 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								3a181ab430 
								
							
								 
							
						 
						
							
							
								
								rootston: export XCURSOR_SIZE and XCURSOR_THEME  
							
							... 
							
							
 
							
							These can be used by toolkits (currently Qt) to choose a default
cursor theme and size. Note that this isn't a perfect solution:
- Per-seat configuration isn't possible
- It's not possible to set the default image
- Live config reload isn't possible
But it's easy to implement and simple. To fix these remaining
issues a separate protocol would be needed. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								97049576f7 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1292  from n3rdopolis/patch-3  
							
							... 
							
							
 
							
							meson.build: require logind v237 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								cf7323a831 
								
									
								
							
								 
							
						 
						
							
							
								
								meson.build: require logind v237  
							
							... 
							
							
 
							
							Commit 7b52388424 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								fb5572db5a 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1286  from emersion/drm-no-crtc  
							
							... 
							
							
 
							
							backend/drm: better handle GPUs without CRTCs 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								37de179013 
								
							
								 
							
						 
						
							
							
								
								backend/drm: fix zero-length VLAs  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								776008da69 
								
							
								 
							
						 
						
							
							
								
								backend/drm: properly handle GPUs without CRTCs  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								eb44d18cdd 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1284  from emersion/schedule-frame  
							
							... 
							
							
 
							
							output: don't trigger a frame immediately in schedule_frame 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								5afaccedfc 
								
							
								 
							
						 
						
							
							
								
								output: fix busy loop when backend doesn't implement schedule_frame  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								ba91422747 
								
							
								 
							
						 
						
							
							
								
								output: don't trigger a frame immediately in schedule_frame  
							
							... 
							
							
 
							
							This desynchronizes our rendering loop with the vblank cycle.
In case a compositor doesn't swap buffers but schedules a frame,
emitting a frame event immediately enters a busy-loop.
Instead, ask the backend to send a frame when appropriate. On
Wayland we can just register a frame callback on our surface. On
DRM we can do a no-op pageflip.
Fixes  #617 
Fixes  swaywm/sway#2748  
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								4e89a21397 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1283  from swaywm/revert-1282-fix-idle-frame  
							
							... 
							
							
 
							
							Revert "Prevent excessive frame events when compositor doesn't swap buffers" 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								1e70b4cea2 
								
									
								
							
								 
							
						 
						
							
							
								
								Revert "Prevent excessive frame events when compositor doesn't swap buffers"  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								1280b4920d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1282  from RyanDwyer/fix-idle-frame  
							
							... 
							
							
 
							
							Prevent excessive frame events when compositor doesn't swap buffers 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b7b781ff44 
								
							
								 
							
						 
						
							
							
								
								Prevent excessive frame events when compositor doesn't swap buffers  
							
							... 
							
							
 
							
							When we send an output frame event, we should not assume that the
compositor is going to call wlr_output_swap_buffers in response to it.
If the compositor does not swap the buffers, the idle event source still
exists and is executed every time the Wayland event loop becomes idle,
which means we send frame events repeatedly until the buffers are
swapped.
This moves the removal of the idle event source out of
wlr_output_swap_buffers and into wlr_output_send_frame, where it is
guaranteed to be removed. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								24a48d4858 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1272  from emersion/presentation-time  
							
							... 
							
							
 
							
							Implement presentation-time 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								eac7c2ad2f 
								
							
								 
							
						 
						
							
							
								
								output: add presentation refresh prediction  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								abd3e995ab 
								
							
								 
							
						 
						
							
							
								
								rootston: send presentation events  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								ba63d77ec1 
								
							
								 
							
						 
						
							
							
								
								rootston: add output_for_each_surface  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								0aafd6e234 
								
							
								 
							
						 
						
							
							
								
								rootston: add layer_for_each_surface  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b0635bf3e7 
								
							
								 
							
						 
						
							
							
								
								Rename get_present_clock to get_presentation clock, use it  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								abddfc99f2 
								
							
								 
							
						 
						
							
							
								
								output: fix clock_gettime return value handling  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								54e1287f30 
								
							
								 
							
						 
						
							
							
								
								backend: add get_present_clock  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								9203bfdd4f 
								
							
								 
							
						 
						
							
							
								
								output: document signals  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								26b9d6dbb1 
								
							
								 
							
						 
						
							
							
								
								output: send present event from all backends  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								78389fe722 
								
							
								 
							
						 
						
							
							
								
								output: add present event  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								3aad9fd6a9 
								
							
								 
							
						 
						
							
							
								
								presentation-time: add protocol implementation  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								f5a147b739 
								
							
								 
							
						 
						
							
							
								
								backend/drm: add support for the link-status property  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								c67ce71fdd 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1281  from aereaux/edid-sizes  
							
							... 
							
							
 
							
							Update sizes for new EDID database. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								841d04db99 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1262  from nyorain/session_fix  
							
							... 
							
							
 
							
							Improve session handling 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								0036161867 
								
							
								 
							
						 
						
							
							
								
								Update sizes for new EDID database.  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								0d23fb7b6d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1279  from emersion/update-edid-manufacturers  
							
							... 
							
							
 
							
							backend/drm: update EDID manufacturers database 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b4d46aa9c2 
								
							
								 
							
						 
						
							
							
								
								Use sd_bus_get_property_trivial & remove numbering  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								7ab37bf152 
								
							
								 
							
						 
						
							
							
								
								backend/drm: update EDID manufacturers database  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								43af104fa3 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1277  from emersion/reset-gamma  
							
							... 
							
							
 
							
							backend/drm: reset gamma table on VT switch 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e88db9a3fb 
								
							
								 
							
						 
						
							
							
								
								backend/drm: reset gamma table on VT switch  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								2beb68007e 
								
							
								 
							
						 
						
							
							
								
								output: make gamma size a size_t and gamma table const  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								1dd523c34c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1275  from linkmauve/fix-xdg-decoration-destroy-crash  
							
							... 
							
							
 
							
							Fix a crash on zxdg_decoration_manager_v1 destroy 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								130bf15cfa 
								
							
								 
							
						 
						
							
							
								
								Fix a crash on zxdg_decoration_manager_v1 destroy  
							
							... 
							
							
 
							
							When this request was called from a client, the unimplemented callback
was NULL and thus was crashing rootston. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								890bbd7b5c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1271  from emersion/gamma-control-destroy  
							
							... 
							
							
 
							
							gamma-control-v1: add missing destroy handler 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								f5ff702a69 
								
							
								 
							
						 
						
							
							
								
								gamma-control-v1: add missing destroy handler  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								0347d542ee 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1265  from sghctoma/conditional-b_lundef  
							
							... 
							
							
 
							
							Set b_lundef to false on FreeBSD in meson.build 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								65359718c4 
								
							
								 
							
						 
						
							
							
								
								Use == to check system instead of a prefix match  
							
							
 
							
						 
						
							7 years ago