mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Fix segfault, add wl_shell view
This commit is contained in:
parent
ed9a43c213
commit
acf58e04de
4 changed files with 24 additions and 8 deletions
|
|
@ -6,8 +6,8 @@
|
|||
#include <wlr/types/wlr_xdg_shell_v6.h>
|
||||
|
||||
struct roots_wl_shell_surface {
|
||||
struct roots_view *view;
|
||||
// TODO
|
||||
void *_placeholder;
|
||||
};
|
||||
|
||||
struct roots_xdg_surface_v6 {
|
||||
|
|
@ -34,7 +34,7 @@ struct roots_view {
|
|||
// TODO: Something for roots-enforced width/height
|
||||
enum roots_view_type type;
|
||||
union {
|
||||
struct wlr_shell_surface *wl_shell_surface;
|
||||
struct wlr_wl_shell_surface *wl_shell_surface;
|
||||
struct wlr_xdg_surface_v6 *xdg_surface_v6;
|
||||
};
|
||||
union {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue