diff options
author | 諏訪子 <suwako@076.moe> | 2024-06-21 21:02:43 +0900 |
---|---|---|
committer | 諏訪子 <suwako@076.moe> | 2024-06-21 21:02:43 +0900 |
commit | 1b4a5a6bc4712468b4b5bfedc584f0e03728fe11 (patch) | |
tree | 370fe7fd266cd47304a2aa8380f4ae53e48c39d0 /src/logo/openbsd.c | |
parent | 96c5f9fdf06e7e1d944da3a1800cf9f7f00e8398 (diff) |
WM情報の追加
Diffstat (limited to 'src/logo/openbsd.c')
-rw-r--r-- | src/logo/openbsd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logo/openbsd.c b/src/logo/openbsd.c index fa59bba..8badce0 100644 --- a/src/logo/openbsd.c +++ b/src/logo/openbsd.c @@ -1,6 +1,7 @@ #if defined(__OpenBSD__) #include "openbsd.h" #include "../resolution.h" +#include "../wm.h" #include <string.h> #include <stdlib.h> @@ -18,6 +19,9 @@ void getOS() { const char *res = display_resolution(); if (!res) minsize--; else free((void *)res); + const char *wm = display_wm(); + if (!wm) minsize--; + else free((void *)wm); for (int i = 0; i < LOGO_SIZE; i++) { LOGO[i] = NULL; |