mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
x11 -> xwayland, window -> surface, fix some calloc sizes and wrong types
This commit is contained in:
parent
c92199a953
commit
b7927078e9
7 changed files with 159 additions and 140 deletions
|
|
@ -27,7 +27,7 @@ struct roots_xdg_surface_v6 {
|
|||
struct wl_listener request_show_window_menu;
|
||||
};
|
||||
|
||||
struct roots_x11_surface {
|
||||
struct roots_xwayland_surface {
|
||||
struct roots_view *view;
|
||||
// TODO: Maybe destroy listener should go in roots_view
|
||||
struct wl_listener destroy;
|
||||
|
|
@ -48,12 +48,12 @@ struct roots_view {
|
|||
union {
|
||||
struct wlr_wl_shell_surface *wl_shell_surface;
|
||||
struct wlr_xdg_surface_v6 *xdg_surface_v6;
|
||||
struct wlr_x11_window *x11_window;
|
||||
struct wlr_xwayland_surface *xwayland_surface;
|
||||
};
|
||||
union {
|
||||
struct roots_wl_shell_surface *roots_wl_shell_surface;
|
||||
struct roots_xdg_surface_v6 *roots_xdg_surface_v6;
|
||||
struct roots_x11_surface *roots_x11_surface;
|
||||
struct roots_xwayland_surface *roots_xwayland_surface;
|
||||
};
|
||||
struct wlr_surface *wlr_surface;
|
||||
struct wl_list link;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue