mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-11-03 09:01:45 -05:00 
			
		
		
		
	implement the wlr-data-transfer protocol
It makes wl-clipboard work properly in neovim, without having to create a transparent surface that steals focus and causes flickering. It's also required for clipman.
This commit is contained in:
		
							parent
							
								
									ee5bd9a643
								
							
						
					
					
						commit
						64faad7cb6
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								dwl.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								dwl.c
									
										
									
									
									
								
							| 
						 | 
					@ -15,6 +15,7 @@
 | 
				
			||||||
#include <wlr/render/wlr_renderer.h>
 | 
					#include <wlr/render/wlr_renderer.h>
 | 
				
			||||||
#include <wlr/types/wlr_compositor.h>
 | 
					#include <wlr/types/wlr_compositor.h>
 | 
				
			||||||
#include <wlr/types/wlr_cursor.h>
 | 
					#include <wlr/types/wlr_cursor.h>
 | 
				
			||||||
 | 
					#include <wlr/types/wlr_data_control_v1.h>
 | 
				
			||||||
#include <wlr/types/wlr_data_device.h>
 | 
					#include <wlr/types/wlr_data_device.h>
 | 
				
			||||||
#include <wlr/types/wlr_export_dmabuf_v1.h>
 | 
					#include <wlr/types/wlr_export_dmabuf_v1.h>
 | 
				
			||||||
#include <wlr/types/wlr_gamma_control_v1.h>
 | 
					#include <wlr/types/wlr_gamma_control_v1.h>
 | 
				
			||||||
| 
						 | 
					@ -1971,6 +1972,7 @@ setup(void)
 | 
				
			||||||
	compositor = wlr_compositor_create(dpy, drw);
 | 
						compositor = wlr_compositor_create(dpy, drw);
 | 
				
			||||||
	wlr_export_dmabuf_manager_v1_create(dpy);
 | 
						wlr_export_dmabuf_manager_v1_create(dpy);
 | 
				
			||||||
	wlr_screencopy_manager_v1_create(dpy);
 | 
						wlr_screencopy_manager_v1_create(dpy);
 | 
				
			||||||
 | 
						wlr_data_control_manager_v1_create(dpy);
 | 
				
			||||||
	wlr_data_device_manager_create(dpy);
 | 
						wlr_data_device_manager_create(dpy);
 | 
				
			||||||
	wlr_gamma_control_manager_v1_create(dpy);
 | 
						wlr_gamma_control_manager_v1_create(dpy);
 | 
				
			||||||
	wlr_primary_selection_v1_device_manager_create(dpy);
 | 
						wlr_primary_selection_v1_device_manager_create(dpy);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue