feat: wlr-ext-workspace support

This commit is contained in:
DreamMaoMao
2025-08-16 18:10:44 +08:00
parent ac05b63718
commit 2cf164aaab
5 changed files with 218 additions and 4 deletions

View File

@@ -76,3 +76,7 @@ int regex_match(const char *pattern, const char *str) {
pcre2_code_free(re);
return ret >= 0;
}
void wl_list_append(struct wl_list *list, struct wl_list *object) {
wl_list_insert(list->prev, object);
}

View File

@@ -1,6 +1,8 @@
/* See LICENSE.dwm file for copyright and license details. */
#include <wayland-util.h>
void die(const char *fmt, ...);
void *ecalloc(size_t nmemb, size_t size);
int fd_set_nonblock(int fd);
int regex_match(const char *pattern_mb, const char *str_mb);
void wl_list_append(struct wl_list *list, struct wl_list *object);