mirror of
				https://github.com/glfw/glfw.git
				synced 2025-11-04 14:16:42 +00:00 
			
		
		
		
	wayland: Remove unused code
This commit is contained in:
		
							parent
							
								
									ef60891c2c
								
							
						
					
					
						commit
						08dccc390d
					
				@ -38,31 +38,6 @@
 | 
			
		||||
 | 
			
		||||
#include "xkb_unicode.h"
 | 
			
		||||
 | 
			
		||||
static void handlePing(void* data,
 | 
			
		||||
                       struct wl_shell_surface* shellSurface,
 | 
			
		||||
                       uint32_t serial)
 | 
			
		||||
{
 | 
			
		||||
    wl_shell_surface_pong(shellSurface, serial);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void handleConfigure(void* data,
 | 
			
		||||
                            struct wl_shell_surface* shellSurface,
 | 
			
		||||
                            uint32_t edges,
 | 
			
		||||
                            int32_t width,
 | 
			
		||||
                            int32_t height)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void handlePopupDone(void *data, struct wl_shell_surface *shell_surface)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static const struct wl_shell_surface_listener shellSurfaceListener = {
 | 
			
		||||
    handlePing,
 | 
			
		||||
    handleConfigure,
 | 
			
		||||
    handlePopupDone
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static void pointerHandleEnter(void* data,
 | 
			
		||||
                               struct wl_pointer* pointer,
 | 
			
		||||
                               uint32_t serial,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user