From b8a6d3e86a7c27929a84a8d3326a08c33f28454c Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Thu, 27 Aug 2020 05:03:01 +0200 Subject: render in the same order as sway --- dwl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dwl.c b/dwl.c index 3f10385..b4364a8 100644 --- a/dwl.c +++ b/dwl.c @@ -1627,11 +1627,11 @@ rendermon(struct wl_listener *listener, void *data) renderlayer(m, &m->layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND]); renderlayer(m, &m->layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM]); renderclients(m, &now); - renderlayer(m, &m->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]); - renderlayer(m, &m->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]); #ifdef XWAYLAND renderindependents(m->wlr_output, &now); #endif + renderlayer(m, &m->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]); + renderlayer(m, &m->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]); /* Hardware cursors are rendered by the GPU on a separate plane, and can be * moved around without re-rendering what's beneath them - which is more -- cgit v1.2.3