From 5d0c8937233233953835e2edcdb4ccda06717a58 Mon Sep 17 00:00:00 2001 From: Frank Praznik Date: Fri, 29 Dec 2023 14:18:55 -0500 Subject: [PATCH] wayland: Remove bitfield specifiers from boolean values If SDL_bool is no longer unsigned, this won't work as the valid values are only 1 and -1. --- src/video/wayland/SDL_waylandwindow.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/video/wayland/SDL_waylandwindow.h b/src/video/wayland/SDL_waylandwindow.h index c1c8a3986b..f3d1dd4bae 100644 --- a/src/video/wayland/SDL_waylandwindow.h +++ b/src/video/wayland/SDL_waylandwindow.h @@ -120,13 +120,13 @@ struct SDL_WindowData int system_min_required_height; SDL_DisplayID last_displayID; int fullscreen_deadline_count; - SDL_bool floating : 1; - SDL_bool suspended : 1; - SDL_bool active : 1; - SDL_bool is_fullscreen : 1; - SDL_bool drop_fullscreen_requests : 1; - SDL_bool fullscreen_was_positioned : 1; - SDL_bool show_hide_sync_required : 1; + SDL_bool floating; + SDL_bool suspended; + SDL_bool active; + SDL_bool is_fullscreen; + SDL_bool drop_fullscreen_requests; + SDL_bool fullscreen_was_positioned; + SDL_bool show_hide_sync_required; SDL_HitTestResult hit_test_result; };