Commit 665f15a
committed
Bug 1998596 - Don't notify of moves on invisible windows. r=mac-reviewers,mstange
If we're not visible yet, our NSWindow might not have the correct frame
yet, causing us to perform a move to 0, 0, effectively losing the
anchoring.
It's a bit unclear whether we want to react to WindowMoved for popups
anyways, we generally assume we're in control of window positioning
(except for some wayland shenanigans).
Differential Revision: https://phabricator.services.mozilla.com/D2737261 parent 8b35855 commit 665f15a
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6549 | 6549 | | |
6550 | 6550 | | |
6551 | 6551 | | |
6552 | | - | |
6553 | | - | |
| 6552 | + | |
| 6553 | + | |
| 6554 | + | |
| 6555 | + | |
6554 | 6556 | | |
6555 | 6557 | | |
6556 | 6558 | | |
| |||
0 commit comments