Files
RedBear-OS/local
kellito ba2eee9834 v5.6 followup: drop xdg_wm_base ping + test cleanup
The round-5 comprehensive fix (W1/W2/W3 + compile errors) left the
redbear-compositor with a xdg_wm_base debug ping on every global
registration. This extra message broke test_compositor_xdg_popup_lifecycle
which had been designed around the pre-ping message count.

Fix:
- Remove the xdg_wm_base ping at line 1807 in the global-registration
  loop (it was a debug/test helper, not a real feature).
- Annotate the now-unused send_xdg_wm_base_ping with
  #[allow(dead_code)] so the codebase still references the function
  for future re-introduction if needed.
- Update integration tests to match the corrected message ordering
  and the new global count after the ping removal.

After this:
- grep 'let _ = stream.write_all' main.rs: 0
- grep 'unreachable!' main.rs: 0
- grep 'xdg_wm_base_ping' in dispatch loop: 0
- cargo test integration_test: test_compositor_xdg_popup_lifecycle
  passes
2026-07-26 22:25:53 +09:00
..