summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Cella <guidocella91@gmail.com>2020-08-27 05:03:01 +0200
committerGuido Cella <guidocella91@gmail.com>2020-08-27 05:03:01 +0200
commitb8a6d3e86a7c27929a84a8d3326a08c33f28454c (patch)
treef8497631fa4d0d75a01dd830a68a100bbe80d67c
parentd61658bdd7704267ef7c6ffd7b965cfa8abdb445 (diff)
render in the same order as sway
-rw-r--r--dwl.c4
1 files 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