Request popup above after mapping

This commit is contained in:
2026-09-12 14:17:38 +02:00
parent ea55cdca92
commit 58b0cf49a3
2 changed files with 6 additions and 2 deletions

View File

@@ -63,8 +63,8 @@ Each bounded iteration must:
- [ ] Center the popup on the configured/active monitor.
- [x] Keep the X11 popup above other windows and apply 40% opacity while it is
inactive, returning to full opacity when focused; request `_NET_WM_STATE_ABOVE`
through the EWMH client-message protocol as well as the property, and recheck
opacity after mapping/every 100 ms (27 X11-feature tests and Docker
through the EWMH client-message protocol as well as the property, and repeat
the request after mapping (27 X11-feature tests and Docker
GTK/X11/package build, 2026-09-12); compositor behavior remains live desktop
evidence.
- [x] Preserve search query and surviving selection after refresh-triggering actions (17 core tests and Docker GTK/X11 build, 2026-09-10).

View File

@@ -178,6 +178,10 @@ fn build_window(
window.connect_realize(move |_| {
crate::platform::linux::x11_window::configure(&window_for_opacity);
});
let window_for_above = window.clone();
window.connect_map(move |_| {
crate::platform::linux::x11_window::configure(&window_for_above);
});
let window_for_opacity = window.clone();
window.connect_is_active_notify(move |_| {
crate::platform::linux::x11_window::set_active_opacity(&window_for_opacity);