fix: struct ordering broken in 188f1e2959 (#4802)

This commit is contained in:
David Lane
2026-03-02 08:38:23 -05:00
committed by GitHub
parent d157bb1d1e
commit 5f8dab0988
8 changed files with 25 additions and 32 deletions

View File

@@ -296,20 +296,20 @@ namespace platf {
struct cursor_t {
// Public properties used during blending
bool visible = false;
std::uint32_t dst_h;
std::uint32_t dst_w;
std::uint32_t src_h;
std::uint32_t src_w;
std::int32_t x;
std::int32_t y;
std::uint32_t dst_w;
std::uint32_t dst_h;
std::uint32_t src_w;
std::uint32_t src_h;
std::vector<std::uint8_t> pixels;
unsigned long serial;
// Private properties used for tracking cursor changes
std::uint64_t prop_src_x;
std::uint64_t prop_src_y;
std::uint64_t prop_src_h;
std::uint64_t prop_src_w;
std::uint64_t prop_src_h;
std::uint32_t fb_id;
};
@@ -1139,8 +1139,8 @@ namespace platf {
std::chrono::nanoseconds delay;
int img_height;
int img_width;
int img_height;
int img_offset_x;
int img_offset_y;