mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-12 14:05:25 +00:00
If no window has ever been focused, next() always returns an invalid window id. As a consequence, there is no way to cycle through the focus history without an explicit focus event (e.g. mouse hover). Instead, next() should return the first window from the focus history if the currently focused window is not present. Fixes genodelabs/genode#4164