mirror of
https://github.com/wayvr-org/wayvr.git
synced 2026-11-20 00:51:19 -08:00
fix xdg popups appearing in wrong spot on first frame
This commit is contained in:
1 parent
b857d91945
commit
364c2a308d
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user