mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
window layouter: let focus follow the pointer
This commit is contained in:
parent
0cc314399c
commit
a3d78d3779
@ -549,6 +549,14 @@ void Floating_window_layouter::Main::handle_hover_update(unsigned)
|
||||
|
||||
hovered_window_id = id;
|
||||
hovered_element = hovered;
|
||||
|
||||
/* XXX read from config */
|
||||
bool const focus_follows_pointer = true;
|
||||
if (id && focus_follows_pointer) {
|
||||
focused_window_id = id;
|
||||
generate_focus_model();
|
||||
}
|
||||
|
||||
generate_window_layout_model();
|
||||
}
|
||||
} catch (...) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user