atagen

monolith

public
Star0
Watch0

Commit ce349838db85

tarball

atagen <boss@atagen.co>2026-10-19 10:50 UTC

1 file changed+2-2
windows: put the configure-ack doc on acked

It sat above is_modal and described acked.
Modified file: crates/monolith/src/windows.rs+2 additions−2 deletions
@@ -682,8 +682,6 @@ impl State {
682682 }
683683 }
684684
685-/// Whether the client has acknowledged the configure with `serial` or a later
686-/// one.
687685 fn is_modal(window: &Window) -> bool {
688686 match window.x11_surface() {
689687 Some(x) => x.is_modal(),
@@ -691,6 +689,8 @@ fn is_modal(window: &Window) -> bool {
691689 }
692690 }
693691
692+/// Whether the client has acknowledged the configure with `serial` or a later
693+/// one.
694694 fn acked(window: &Window, serial: Serial) -> bool {
695695 let Some(t) = window.toplevel() else {
696696 return true;