mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-25 13:14:13 -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
|
|
@ -27,7 +27,7 @@ struct dwl_input_method_relay {
|
|||
};
|
||||
|
||||
struct dwl_input_method_popup {
|
||||
uint32_t type;
|
||||
uint32_t type; // must at first in struct
|
||||
struct wlr_input_popup_surface_v2 *popup_surface;
|
||||
struct wlr_scene_tree *tree;
|
||||
struct wlr_scene_tree *scene_surface;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue