mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-02 09:01:40 -05:00 
			
		
		
		
	This makes sure that the workspace IPC event is triggered when needed. Fixes #382 while making sure that the IPC event is only triggered once.
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			402 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			402 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef _SWAY_IPC_SERVER_H
 | 
						|
#define _SWAY_IPC_SERVER_H
 | 
						|
 | 
						|
#include "container.h"
 | 
						|
#include "config.h"
 | 
						|
#include "ipc.h"
 | 
						|
 | 
						|
void ipc_init(void);
 | 
						|
void ipc_terminate(void);
 | 
						|
struct sockaddr_un *ipc_user_sockaddr(void);
 | 
						|
 | 
						|
void ipc_event_workspace(swayc_t *old, swayc_t *new, const char *change);
 | 
						|
void ipc_event_barconfig_update(struct bar_config *bar);
 | 
						|
const char *swayc_type_string(enum swayc_types type);
 | 
						|
 | 
						|
#endif
 |