From 4c53bd8bf9aa01f6ec10a0e31eb9ea38d2e5253d Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Sat, 28 Dec 2019 20:33:01 +0000 Subject: [PATCH] Do not decorate windows such as dmenu --- output.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/output.c b/output.c index 129b7734..773763c6 100644 --- a/output.c +++ b/output.c @@ -19,6 +19,11 @@ static void render_decorations(struct wlr_output *output, struct view *view) return; if (!is_toplevel(view)) return; + if (view->xwayland_surface->override_redirect) + return; + if (view->xwayland_surface->decorations != + WLR_XWAYLAND_SURFACE_DECORATIONS_ALL) + return; struct wlr_box box = { .x = view->x - XWL_WINDOW_BORDER,