subsurfaces have been useless for awhile, remove them and name the sub-widgets sublevels
This commit is contained in:
parent
fd39a0aa1c
commit
87d7157291
2 changed files with 11 additions and 15 deletions
|
|
@ -52,13 +52,11 @@ struct _MwLLWaylandTopLevel {
|
|||
|
||||
struct _MwLLWayland {
|
||||
struct _MwLLCommon common;
|
||||
union {
|
||||
struct _MwLLWaylandTopLevel* toplevel;
|
||||
struct wl_subsurface* subsurface;
|
||||
};
|
||||
// data that's only loaded if it's a toplevel
|
||||
struct _MwLLWaylandTopLevel* toplevel;
|
||||
enum {
|
||||
MWLL_WAYLAND_TOPLEVEL = 0,
|
||||
MWLL_WAYLAND_SUBSURFACE = 1,
|
||||
MWLL_WAYLAND_TOPLEVEL = 0,
|
||||
MWLL_WAYLAND_SUBLEVEL = 1,
|
||||
} type;
|
||||
|
||||
struct {
|
||||
|
|
@ -90,8 +88,6 @@ struct _MwLLWayland {
|
|||
MwU32 x, y, ww, wh;
|
||||
MwPoint cur_mouse_pos;
|
||||
|
||||
int last_serial;
|
||||
|
||||
MwLL parent;
|
||||
|
||||
GLuint fbo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue