genode/repos/os/include/nitpicker_session
Norman Feske 9d233b73a3 nitpicker: improve 'Session::focus' handling
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
2018-04-10 11:20:47 +02:00
..
capability.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
client.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
connection.h Annotate session interfaces with CAP_QUOTA 2017-05-31 13:16:04 +02:00
nitpicker_session.h nitpicker: improve 'Session::focus' handling 2018-04-10 11:20:47 +02:00