fix xdg popups appearing in wrong spot on first frame

This commit is contained in:
galister committed 2026-10-30 15:56:00 +00:00
1 parent b857d91945
commit 364c2a308d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -381,7 +381,7 @@ pub fn build_hit_context(
for (popup, point) in PopupManager::popups_for_surface(toplevel) {
if let PopupKind::Xdg(popup) = &popup
&& !popup.is_initial_configure_sent()
&& popup.with_committed_state(|state| state.is_none())
{
continue;
}
+1 -1
View File
@@ -678,7 +678,7 @@ impl OverlayBackend for WvrWindowBackend {
for (popup, point) in PopupManager::popups_for_surface(toplevel.wl_surface()) {
if let PopupKind::Xdg(popup) = &popup
&& !popup.is_initial_configure_sent()
&& popup.with_committed_state(|state| state.is_none())
{
continue;
}