bounds and anonymus union in absinthe_toplevel
This commit is contained in:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user