aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2023-03-07 20:44:25 +0300
committerSimon Ser <contact@emersion.fr>2023-03-07 17:51:27 +0000
commit774d2c82f0cc6ed5b20762fb74bab3e8bfd9f858 (patch)
treed000a1740747c3a47ef6adb05ad8d5aec91fdc51
parent38839ac536524e0bb43eaea80cf02b57463a59e3 (diff)
xwm: remove misleading comment
The surfaces are stored in the bottom-to-top order, as specified in include/xwayland/xwm.h and expected by wlr_xwayland_surface_restack().
-rw-r--r--xwayland/xwm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index 5a36dc21..ac615ffe 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -277,9 +277,6 @@ static void xwm_set_net_client_list_stacking(struct wlr_xwm *xwm) {
return;
}
- // We store surfaces in top-to-bottom order because this is easier to reason
- // about, but _NET_CLIENT_LIST_STACKING is supposed to be in bottom-to-top
- // order, so iterate backwards through the list.
size_t i = 0;
struct wlr_xwayland_surface *xsurface;
wl_list_for_each(xsurface, &xwm->surfaces_in_stack_order, stack_link) {