meta_compositor_get_top_window_actor() does not return actor after going from 0 to 1 windows
- Add
g_print("top window actor: %p\n", window_actor);
after themeta_compositor_get_top_window_actor()
call inmaybe_assign_primary_plane()
- Start new session (or close all windows)
- Open a single terminal window
- In the terminal check
journalctl -f
The topmost window actor will remain NULL
until a second window is opened. After that it keeps working until closing all windows and starting anew.
This is currently preventing direct scanout in these situations.