mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-28 13:14:16 -04:00
opt: add common for struct type
It must be placed first; otherwise, after the xytonode's null pointer is forcibly converted, the reading type will encounter an incorrect address
This commit is contained in:
parent
b8ca3a3c34
commit
95b0724cff
3 changed files with 6 additions and 6 deletions
|
|
@ -72,7 +72,7 @@ typedef struct {
|
|||
} MangoJumpLabel;
|
||||
|
||||
typedef struct {
|
||||
uint32_t type;
|
||||
uint32_t type; // must at first in struct
|
||||
struct wlr_scene_buffer *scene_buffer;
|
||||
struct mango_text_buffer *buffer;
|
||||
cairo_surface_t *surface;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue