From 0550e74b9838d755aa09c88a7e9e423e733399ed Mon Sep 17 00:00:00 2001 From: IoIxD Date: Tue, 5 May 2026 18:34:06 -0700 Subject: [PATCH] fix --- include/Mw/LowLevel/Wayland.h | 1 - src/widget/subwindow.c | 3 --- 2 files changed, 4 deletions(-) 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; }