genode/repos/os/src
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
..
app trace_logger/README: add examples subsection 2018-04-10 11:20:46 +02:00
drivers fb_sdl: drop spurious motion events without motion 2018-04-10 11:20:47 +02:00
init init config.xsd: add ld_verbose attribute 2018-02-09 13:34:19 +01:00
lib net: get rid of static constructors 2018-04-10 11:20:44 +02:00
server nitpicker: improve 'Session::focus' handling 2018-04-10 11:20:47 +02:00
test test/timeout: test locks in handlers 2018-04-10 11:20:43 +02:00