diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-05-17 18:49:16 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-05-17 18:49:16 +0200 |
commit | 6cff1a49d2b124266f8da41065c471d80cdd32e2 (patch) | |
tree | ff15da38af695c0bb149165db201765e0f4fc050 /src/utils.c | |
parent | 715a3c612a606465ee5526efe53029741ee4c7f9 (diff) |
Fix all warnings
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c index 322d7d9..bee57f3 100644 --- a/src/utils.c +++ b/src/utils.c @@ -46,6 +46,7 @@ void for_each_active_monitor_output(Display *display, active_monitor_callback ca } static void get_monitor_by_name_callback(const XRROutputInfo *output_info, const XRRCrtcInfo *crt_info, const XRRModeInfo *mode_info, void *userdata) { + (void)mode_info; get_monitor_by_name_userdata *data = (get_monitor_by_name_userdata*)userdata; if(!data->found_monitor && data->name_len == output_info->nameLen && memcmp(data->name, output_info->name, data->name_len) == 0) { data->monitor->pos = (vec2i){ .x = crt_info->x, .y = crt_info->y }; |