bounds and anonymus union in absinthe_toplevel

This commit is contained in:
2026-04-29 17:32:57 +07:00
parent f7367395f0
commit 5af4ca8015
10 changed files with 68 additions and 60 deletions
+2
View File
@@ -2,6 +2,8 @@
#include <wayland-server-core.h>
#include "types.h"
void output_frame(struct wl_listener *listener, void *data);
void output_request_state(struct wl_listener *listener, void *data);
void output_destroy(struct wl_listener *listener, void *data);
+3 -3
View File
@@ -148,9 +148,9 @@ struct absinthe_toplevel {
struct wlr_box prev_geometry;
union {
struct wlr_xdg_toplevel *xdg;
struct wlr_xwayland_surface *x11;
} toplevel;
struct wlr_xdg_toplevel *xdg_toplevel;
struct wlr_xwayland_surface *xwayland_surface;
};
struct wl_listener map;
struct wl_listener unmap;
struct wl_listener commit;