diff options
Diffstat (limited to 'src/core/IKernel.cpp')
-rw-r--r-- | src/core/IKernel.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/IKernel.cpp b/src/core/IKernel.cpp index 287cd04931..31f1ec7a3f 100644 --- a/src/core/IKernel.cpp +++ b/src/core/IKernel.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 Arm Limited. + * Copyright (c) 2016-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -48,6 +48,11 @@ BorderSize IKernel::border_size() const return BorderSize(0); } +bool IKernel::is_window_configured() const +{ + return !((_window.x().start() == _window.x().end()) && (_window.x().end() == 0)); +} + void IKernel::configure(const Window &window) { _window = window; |