mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-15 14:33:34 -04:00
opt: optimize ipc event send
This commit is contained in:
parent
21cd9dcf80
commit
c3683bde74
6 changed files with 97 additions and 55 deletions
|
|
@ -9,20 +9,6 @@
|
|||
#include <sys/un.h>
|
||||
#include <unistd.h>
|
||||
|
||||
enum ipc_watch_type {
|
||||
IPC_WATCH_NONE,
|
||||
IPC_WATCH_MONITOR,
|
||||
IPC_WATCH_CLIENT,
|
||||
IPC_WATCH_TAGS,
|
||||
IPC_WATCH_ALL_MONITORS,
|
||||
IPC_WATCH_ALL_TAGS,
|
||||
IPC_WATCH_ALL_CLIENTS,
|
||||
IPC_WATCH_KEYMODE,
|
||||
IPC_WATCH_KB_LAYOUT,
|
||||
IPC_WATCH_LAST_OPEN_SURFACE,
|
||||
IPC_WATCH_FOCUSING_CLIENT
|
||||
};
|
||||
|
||||
struct ipc_watch_client {
|
||||
struct wl_list link;
|
||||
int fd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue