mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 15:56:41 +00:00
9d233b73a3
Nitpicker's 'Session:focus' call used to trigger a one-off focus change at call time. This focus change did not pass the same code paths as a focus change triggered by a "focus" ROM update, which led to inconsistencies. This patch changes the implementation of 'Session::focus' such that the relationship of the caller and the focused session is preserved after call time. Whenever the calling session is focused in the future, the specified session will receive the focus instead. So 'Session::focus' represents no longer a single operation but propagates the information about the inter-session relationship. This information is taken into account whenever the focus is evaluated regardless of how the change is triggered. This makes the focus handling in scenarios like the window manager more robust. Issue #2746 |
||
---|---|---|
.. | ||
capability.h | ||
client.h | ||
connection.h | ||
nitpicker_session.h |