wayland: seperate MwLLPending and MwLLNextEvent

This commit is contained in:
IoIxD
2025-12-18 19:59:40 -07:00
parent 18511dec2f
commit b7488b9440
2 changed files with 24 additions and 2 deletions

View File

@@ -42,6 +42,7 @@ struct _MwLLWaylandTopLevel {
struct xdg_toplevel* xdg_top_level;
struct xdg_toplevel_listener xdg_toplevel_listener;
struct xdg_surface_listener xdg_surface_listener;
struct xdg_positioner* xdg_positioner;
struct xkb_context* xkb_context;
struct xkb_keymap* xkb_keymap;
@@ -111,6 +112,8 @@ struct _MwLLWayland {
struct wl_pointer* pointer;
MwU32 pointer_serial;
MwBool events_pending;
MwU32 mod_state;
MwBool configured; /* Whether or not xdg_toplevel_configure has run once */