diff --git a/include/Mw/LowLevel/Wayland.h b/include/Mw/LowLevel/Wayland.h index d6474bb..0916e24 100644 --- a/include/Mw/LowLevel/Wayland.h +++ b/include/Mw/LowLevel/Wayland.h @@ -563,7 +563,6 @@ struct _MwLLWayland { /* The cairo to actually use for draw operations. Typically is front_cairo, but MwLLBeginDraw can change this to the back_cairo so it can be used to draw window decorations. */ cairo_t* selected_cairo; - MwBool is_subwindow; }; struct _MwLLWaylandColor { diff --git a/src/widget/subwindow.c b/src/widget/subwindow.c index a8dcbb9..e2ad237 100644 --- a/src/widget/subwindow.c +++ b/src/widget/subwindow.c @@ -279,9 +279,6 @@ static int wcreate(MwWidget handle) { MwSetDefault(handle); - if(handle->lowlevel->common.type == MwLLBackendWayland) { - handle->lowlevel->wayland.is_subwindow = MwTRUE; - } return 0; }