diff --git a/repos/gems/src/app/window_layouter/main.cc b/repos/gems/src/app/window_layouter/main.cc index d0b7e505f7..6bab2251d8 100644 --- a/repos/gems/src/app/window_layouter/main.cc +++ b/repos/gems/src/app/window_layouter/main.cc @@ -68,7 +68,7 @@ struct Window_layouter::Main : Operations, Decorator_margins _decorator_margins { Xml_node("") }; Window_list _window_list { - _env, _heap, *this, _screen_size, _focus_history, _decorator_margins }; + _env, _heap, *this, _focus_history, _decorator_margins }; Assign_list _assign_list { _heap }; diff --git a/repos/gems/src/app/window_layouter/window_list.h b/repos/gems/src/app/window_layouter/window_list.h index 9295d732f0..a6fd89bf83 100644 --- a/repos/gems/src/app/window_layouter/window_list.h +++ b/repos/gems/src/app/window_layouter/window_list.h @@ -35,7 +35,6 @@ class Window_layouter::Window_list Env &_env; Allocator &_alloc; Change_handler &_change_handler; - Area const &_screen_size; Focus_history &_focus_history; Decorator_margins const &_decorator_margins; @@ -104,14 +103,12 @@ class Window_layouter::Window_list Window_list(Env &env, Allocator &alloc, Change_handler &change_handler, - Area const &screen_size, Focus_history &focus_history, Decorator_margins const &decorator_margins) : _env(env), _alloc(alloc), _change_handler(change_handler), - _screen_size(screen_size), _focus_history(focus_history), _decorator_margins(decorator_margins) {