diff options
Diffstat (limited to 'src/window')
-rw-r--r-- | src/window/Window.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/window/Window.cpp b/src/window/Window.cpp index 7f1fe38..5dbbe5a 100644 --- a/src/window/Window.cpp +++ b/src/window/Window.cpp @@ -71,7 +71,9 @@ namespace mgl { // TODO: Implement bool Window::is_open() const { - return true; + if(!window.window) + return false; + return mgl_window_is_open(&window); } // TODO: Implement |