Fix segfault, add wl_shell view

This commit is contained in:
emersion 2017-09-27 14:48:53 +02:00
parent ed9a43c213
commit acf58e04de
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 24 additions and 8 deletions

View file

@ -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 {