From 91916a2d94eee0b72eb8e7e033511bbf173879eb Mon Sep 17 00:00:00 2001 From: MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> Date: Mon, 30 Mar 2026 23:59:34 +0000 Subject: xwayland: fix compiler warnings (#13920) --- src/xwayland/XSurface.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/xwayland/XSurface.hpp b/src/xwayland/XSurface.hpp index a8ccac4d..c12edcf2 100644 --- a/src/xwayland/XSurface.hpp +++ b/src/xwayland/XSurface.hpp @@ -9,10 +9,10 @@ class CWLSurfaceResource; class CXWaylandSurfaceResource; #ifdef NO_XWAYLAND -using xcb_pixmap_t = uint32_t; -using xcb_window_t = uint32_t; -using xcb_atom_t = uint32_t; -using xcb_icccm_wm_hints_t = struct { +using xcb_pixmap_t = uint32_t; +using xcb_window_t = uint32_t; +using xcb_atom_t = uint32_t; +struct xcb_icccm_wm_hints_t { int32_t flags; uint32_t input; int32_t initial_state; @@ -22,7 +22,7 @@ using xcb_icccm_wm_hints_t = struct { xcb_pixmap_t icon_mask; xcb_window_t window_group; }; -using xcb_size_hints_t = struct { +struct xcb_size_hints_t { uint32_t flags; int32_t x, y; int32_t width, height; -- cgit v1.2.3