opt: optimize ipc event send

This commit is contained in:
DreamMaoMao 2026-05-28 12:45:30 +08:00
parent 21cd9dcf80
commit c3683bde74
6 changed files with 97 additions and 55 deletions

View file

@ -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;